Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix EZP-22643 "Missing form token from Request " when creating an object after clearing cache #858
Depends on ezsystems/ezpublish-legacy#963
This is actually a regression from EZP-22414 and EZP-22531, combined with EZP-22210 (CommentsBundle).
It was impossible to reproduce on master because
+1 besides the comment.
PS: If anyone sees reports about token mismatches as well, then there is at least a possible issue that the following probably is not triggered anymore as session is in Sf stack:
Also, now that we generate token in partial output, any legacy form output generated before the session reset will have invalid token.
Possible fix is to do the whole token replacement logic in symfony response events instead in sf + legacy setup where we detect legacy have been booted.
But this is a different but highly related issue.