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 12 years ago

Closed 12 years ago

Last modified 12 years ago

#823 closed bug (fixed)

listener name in lowercase?

Reported by: pulsation Owned by: laurentj
Priority: low Milestone: jelix 1.1
Component: jelix:events Version: 1.1 beta 1
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description (last modified by laurentj)

It looks like listener source files should not contain uppercase characters, even if the listener name contains uppercase characters:

in jEvent.class.php on line 178:

require_once ($GLOBALS['gJConfig']->_modulesPathList[$module].'classes/'.'''strtolower ($listenerName)'''.'.listener.php');

Is it a small bug, or may I add a small note in the documentation?

Cheers

Change History (4)

comment:1 Changed 12 years ago by laurentj

  • Component changed from jelix to jelix:events
  • Description modified (diff)

comment:2 Changed 12 years ago by laurentj

  • Milestone set to jelix 1.1
  • Owner set to laurentj
  • Status changed from new to assigned

comment:3 Changed 12 years ago by laurentj

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

fixed. r1299.

comment:4 Changed 12 years ago by pulsation

thanks :)

Note: See TracTickets for help on using tickets.