Edgewall Software
Modify

Opened 16 years ago

Last modified 5 months ago

#9457 new enhancement

Unsubmitted comments lost after attaching files

Reported by: andrew.c.martin@… Owned by:
Priority: low Milestone: unscheduled
Component: ticket system Version: 0.11.6
Severity: minor Keywords: javascript
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

While modifying assigned tickets of mine, I've noticed that if I add comments and then go to attach a file, when I selected the "Back to Ticket#" button at the top of the page, the attachment is saved but my un-submitted comments are erased. Trac should save all modifications in memory until the changes are submitted.

Attachments (0)

Change History (5)

comment:1 by Christian Boos, 16 years ago

It would be difficult for Trac to save anything not yet submitted… but I think there was already a suggestion that we could use Javascript for this (maybe simply by disabling the Attach file button if there's a pending comment).

comment:2 by Alexander Sokolov <iskander.sokol@…>, 16 years ago

Yes, it's tedious to remember that you don't submit changes before press Attach file

comment:3 by Christian Boos, 16 years ago

Keywords: javascript added
Milestone: unscheduled

PatchWelcome for suggestion in comment:1.

comment:4 by Philippe Cloutier <chealer@…>, 5 months ago

Severity: minornormal

Thanks for reporting

Christian: Saving something not yet submitted has nothing difficult; you just save locally or submit to the server.

Raising severity as comments can require huge effort, and the expectations from web pages users had in 2010 are far from today's. Most would probably consider this as a bug.

This comment is from Philippe "Chealer" Cloutier. All of my comments and contributions in this ticket are offered under the terms of CC0 1.0 (unless otherwise noted).

comment:5 by Jun Omae, 5 months ago

Severity: normalminor

#13891 is closed as duplicate.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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