Edgewall Software
Modify

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

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 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)

Last edited 17 months ago by cboos (previous) (diff)

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
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.