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

Closed 13 years ago

#548 closed bug (fixed)

some html plugins can't be used in other response type

Reported by: laurentj Owned by:
Priority: normal Milestone: Jelix 1.0.4
Component: jelix:plugins Version: 1.0.3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

For example, if we use jforms plugin in a json response, there are some errors like

Fatal error: Call to undefined method jResponseJson::addJSLink() in lib/jelix/plugins/jforms/html/html.jformsbuilder.php on line 53

When a plugin uses a response object, it should check the type of response.

Change History (1)

comment:1 Changed 13 years ago by laurentj

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

Fixed in the trunk and in the 1.0.x branch.

Note: See TracTickets for help on using tickets.