You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot add note, no person ID specified
Line 16 of /home/jethro/public_html/demo/views/view_0_add_note_to_person.class.php
To replicate:
Log in
Persons -> List All
Tick a person, and from the drop-down, choose 'Add Note'
In a second tab, log out of Jethro (to simulate a timeout)
In the first tab, finish filling in the form and submit. You will be redirect to the login page
Log in again. Jethro redirects to /?view=_add_note_to_person, but this time has an error at the top:
There's probably other situations like this where timeout interrupts a stateful operation, and the state is forgotten but the redirect tries to resume the operation.
The text was updated successfully, but these errors were encountered:
Maybe the login form could somehow detect this kind of scenario, where the post data is lost and the destination view won't cope without it, and redirect to the home page with a message.
The alternative would be for the login form to capture and re-submit the post data (extra hidden fields in the login form). But that would be iffy if the next login is potentially much later, and the action might no longer be relevant. I guess it could have a time limit.
We're seeing occasional errors from Jethro:
To replicate:
/?view=_add_note_to_person
, but this time has an error at the top:There's probably other situations like this where timeout interrupts a stateful operation, and the state is forgotten but the redirect tries to resume the operation.
The text was updated successfully, but these errors were encountered: