Opened 16 years ago

Closed 16 years ago

#15483 closed defect (fixed)

Going back to a new ticket after an error

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: trac 0.11 Cc:
Port:

Description

If I submit a ticket without a short summary, I get this:

500 Internal Server Error (Tickets must contain a summary.)

Agreed; I should enter a short summary. But if I then click the browser's Back button, in Safari 3, it still just shows the error message. There seems to be no way to get back to the ticket I started, and I have to start all over again. In Firefox 2, when I go back, it reloads an empty ticket form.

Change History (3)

comment:1 Changed 16 years ago by wsiegrist@…

Keywords: trac 0.11 added
Status: newassigned
Version: 1.6.0

This is fixed by Trac 0.11. It happens because Trac uses the same URL to display the error but doesnt reprint the form. Firefox seems to handle the caching like you want it to even with an #id tag in the URL. What Safari does is reasonable, IMO, but unfortunate in this case. I do not see an easy workaround with 0.10.4 in the meantime (other than using FF to file tickets).

I'll hold onto this ticket to verify once we move to 0.11.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

The behavior in Firefox is not much better than in Safari. In Firefox, it does take you back to the new ticket form, but the form is cleared. You still have to enter your ticket info from scratch.

comment:3 Changed 16 years ago by wsiegrist@…

Resolution: fixed
Status: assignedclosed

Fixed when we upgraded to Trac 0.11.

Note: See TracTickets for help on using tickets.