Opened 16 years ago
Last modified 5 months ago
#9457 new enhancement
Unsubmitted comments lost after attaching files
| Reported by: | 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 , 16 years ago
comment:2 by , 16 years ago
Yes, it's tedious to remember that you don't submit changes before press Attach file
comment:3 by , 16 years ago
| Keywords: | javascript added |
|---|---|
| Milestone: | → unscheduled |
PatchWelcome for suggestion in comment:1.
comment:4 by , 5 months ago
| Severity: | minor → normal |
|---|
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).



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