An origin page might have set status, warning or error messages to be displayed on the destination page. This is common when posting a form and the submit callback sets a success message. But if, in the meantime a new document version is released the message will end on the acceptance form and not on the destination page. The same happens if the login process sets such a message to be displayed after, on the first page after the login. The messages lands on the acceptance form.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3080124-5.patch | 29.58 KB | claudiu.cristea |
| #2 | 3080124-2.test_only.patch | 23.82 KB | claudiu.cristea |
Comments
Comment #2
claudiu.cristeaHere's a test to prove the bug.
Comment #4
claudiu.cristeaComment #5
claudiu.cristeaThe fix.
Comment #6
pfrenssenThis looks good to me. The test also presents a good use case for the kind of messages that might be shown: the website might show a welcome message to the user upon login. For example the message to inform the user that they used their one-time login message. These messages should not show up on the form to accept the legal entity.
Comment #7
claudiu.cristeaAdding credit.
Comment #9
claudiu.cristeaThank you for review!