developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#1022 closed bug (fixed)

undefined method showError

Reported by: foxmask Owned by:
Priority: high Milestone: Jelix 1.2 beta
Component: jelix:installer Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

je viens de mettre à jour mon clone avec la head, mais je n'ai pas le patch du ticket #967 (remplacement de [modules] par [index])

j'ai fait un

 php jelix.php --foxmask createapp

puis dans defaultconfig.ini.php j'ai mis 3 à la place de 2 (sinon jelix me dit ne pas trouve mon module) :

 foxmask.installed=3

et j'obtiens :

 Fatal error: Call to undefined method checkZoneInstallReporter::showError() 
in /home/foxmask/www/www_foxmask/lib/jelix/installer/jInstallChecker.class.php on line 58

en effet sur la ligne 58 la methode showError n'est defini nulle part dans le framework ...

$this->reporter->showError($this->messages->get('cannot.continue').$e->getMessage());

Attachments (1)

ticket_1022_undefined_showerror.patch (1.1 KB) - added by foxmask 11 years ago.
patch pour ne plus avoir l'erreur de methode non trouvée

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by foxmask

  • Summary changed from undefined method showErro to undefined method showError

comment:2 Changed 11 years ago by laurentj

  • Component changed from jelix to jelix:installer
  • Milestone set to Jelix 1.2
  • Priority changed from normal to high

Changed 11 years ago by foxmask

patch pour ne plus avoir l'erreur de methode non trouvée

comment:3 Changed 11 years ago by foxmask

  • review set to review?

dans la zone check_install il n'y a pas de methode showError() mais juste message() et end()

comment:4 Changed 11 years ago by laurentj

  • review changed from review? to review+

ok for me

comment:5 Changed 11 years ago by foxmask

  • Resolution set to fixed
  • Status changed from new to closed

Patch applied and ticket Fixed

commit http://hg.jelix.org/jelix/jelix-trunk/rev/c28f3ab0d713

Note: See TracTickets for help on using tickets.