Forum post editing timeout issue
Bug #731990 reported by
Ruslan Kabalin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Ruslan Kabalin |
Bug Description
We have postdelay forum config parameter that defines for how long it is allowed to edit the post after it has been submitted. Say it is set to 30 mins. When user decides to edit the post just before timeout, s/he will be allowed to do so, but submission might not be possible due to the timeout (Access denied error).
What I suggest is to make possible to submit the post even if time is out (but editing was initiated before timeout).
tags: | added: forum post timeout |
Changed in mahara: | |
status: | Confirmed → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
That's indeed a very annoying behaviour.
However, the solution sounds a bit complicated (and error prone). We'd need to have a new timeout (how long somehow has to edit a post) and keep track of when editing was started.
A few scenarios to consider:
- user clicks edit and submits the edited post 3 hours later
- user clicks edit and never submits the form
- user clicks edit and submits the edited post just after the "editing duration timeout"
A simpler approach to the problem described by Ruslan would be to add a message like this in bold above the edit box when editing a comment:
"You have 25 minutes to edit this message. Make sure you submit this post before 11:35pm (server time) or the original one will be emailed out instead."
We could even have a Javascript countdown...