is not used any more and exists only for history. Post new tickets on the Github account. 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

#1069 closed bug (invalid)

Jforms: opening several new same form generate "invalid token errors"

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


When the security against CSRF is activated (allowAnyOrigin=false by default), and when we open a new form in many windows/tabs at the same time, only the last opened form can be saved. For others, there is the error "invalid token errors".

This is the same bug as described in #876.

Change History (1)

comment:1 Changed 12 years ago by bricet

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

Actually it seems there is no bug at all. I had just a wrong usage of jForms.

Nevertheless, I believe something is missing. May be documentation doesn't go far enough in technical explanation of how jForms works. May be someting is missing in jForms API. In both cases, I am thinking of the reference count introduced in #876 fix and things going around it.

Those things should be talked about and may be I will open other ticket(s) on this subject later, but not about bugs ;).

Note: See TracTickets for help on using tickets.