Edgewall Software
Modify

Opened 12 years ago

Closed 11 years ago

#8904 closed defect (worksforme)

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: Branch:
Release Notes:
API Changes:
Internal 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 (0)

Change History (8)

comment:1 by Remy Blank, 12 years ago

Not sure this is related to the automatic preview. If your submission is rejected, you get the following error:

Submission rejected as potential spam (Akismet says content is spam)

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.

comment:2 by Christian Boos, 12 years ago

Keywords: needinfo added

comment:3 by anatoly techtonik <techtonik@…>, 12 years ago

I was using Chrome. Can't repeat without some foul data for Akismet. Pastebin?

comment:4 by Christian Boos, 11 years ago

Component: ticket systemplugin/spamfilter
Resolution: worksforme
Status: newclosed

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 by Christian Boos, 11 years ago

Resolution: worksforme
Status: closedreopened

(didn't mean to close that one actually, but to propose the above idea for discussion)

Last edited 11 years ago by Christian Boos (previous) (diff)

comment:6 by anatoly techtonik <techtonik@…>, 11 years ago

Maybe display content from user entry on the Trac error page to give them ability to copy?

comment:7 by Dirk Stöcker, 11 years ago

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 by Dirk Stöcker, 11 years ago

Resolution: worksforme
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.