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

Closed 10 years ago

#1154 closed bug (fixed)

jForms::clean() may lead to an exception when having several entry points with several modules accesses

Reported by: bricet Owned by:
Priority: normal Milestone: Jelix 1.2RC1
Component: jelix:forms Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

I have an app with an index and an admin entry points. Both entry points have distinct auth config (so that I can connect on both with a single browser). Admin has jacldb_admin.access=1 while index has =0.

If I connect on both entry points, and then lead to a jForms::clean() on index side, it leads to an exception, telling that jacldb_admin is not an existing module.

Here is a quick fix.

Attachments (1)

ticket_1154.diff (1.2 KB) - added by bricet 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by bricet

comment:1 Changed 10 years ago by laurentj

  • Milestone set to Jelix 1.2

comment:2 Changed 10 years ago by laurentj

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

Thanks for your patch. However, I prefer an other way to fix the bug.

http://bitbucket.org/jelix/jelix-trunk/changeset/c7883ed5c6ed

Note: See TracTickets for help on using tickets.