Ticket #8904 (closed defect: worksforme)
Opened 2 years ago
Last modified 16 months ago
history isn't saved in new ajax ticket comment system
| Reported by: | anatoly <techtonik@…> | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | plugin/spamfilter | Version: | |
| Severity: | normal | Keywords: | needinfo |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
when you enter ticket comment in new ajax way with immediate preview, and then if submission is rejected (akismet) your post is lost.
Attachments
Change History
comment:1 Changed 2 years ago by rblank
comment:2 Changed 2 years ago by cboos
- Keywords needinfo added
comment:3 Changed 2 years ago by anatoly techtonik <techtonik@…>
I was using Chrome. Can't repeat without some foul data for Akismet. Pastebin?
comment:4 Changed 17 months ago by cboos
- Component changed from ticket system to plugin/spamfilter
- Resolution set to worksforme
- Status changed from new to closed
Not related to automatic preview. It's the more general problem that we go to a Trac error page, without giving a chance to recover the content. Sometimes it's enough to use the "Back" button, sometimes it doesn't work... Maybe we should just present a warning, like for a validation error.
comment:5 Changed 17 months ago by cboos
- Resolution worksforme deleted
- Status changed from closed to reopened
(didn't mean to close that one actually, but to propose the above idea for discussion)
comment:6 Changed 17 months ago by anatoly techtonik <techtonik@…>
Maybe display content from user entry on the Trac error page to give them ability to copy?
comment:7 Changed 17 months ago by dstoecker
Actually I don't understand this. What's different between the new Ajax way and the old one. When you get the SPAM-page after entering the code the old page as well as all parameters sent are recovered. This can only fail when the page handler fails or when no data was send to the server. But I assume the SPAM page only comes after you press send, so there should be no difference between Ajax and old way, or do I misunderstand something? If have currently no 0.12 server, where I can test this.
comment:8 Changed 16 months ago by dstoecker
- Resolution set to worksforme
- Status changed from reopened to closed



Not sure this is related to the automatic preview. If your submission is rejected, you get the following error:
If I use the "Back" button of the browser, the <textarea> still has my comment. Could this be browser-specific? I'm using Firefox 3.0.16.