#454: Edit ticket comments
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: cboos
Type: enhancement | Status: new
Priority: high | Milestone: 0.10
Component: ticket system | Version: 0.7
Severity: normal | Resolution:
Keywords: SPAM |
----------------------------------------+-----------------------------------
Changes (by cboos):
* status: assigned => new
Comment:
No, it shouldn't be that hard to implement.
I once wanted to do it, but got distracted by other stuff...
If you want to have a try, here are some tips:
* removal of the comment should be a two step procedure,
similar to the ''Delete this version'' of the Wiki UI.
* when deleting a comment, one should also delete all the
ticket changes that were done at the same time.
The tricky thing is that all the subsequent ticket changes
have to be checked so that their ''old_value'' field
contain the appropriate value (i.e. the value before the
deleted change)
E.g.
1. comment added, version changed from 1.0 => 2.0,
priority from low => high
2. version changed from 2.0 => 3.0
3. component changed from engine => doc
4. priority from high => normal
After the removal of comment 1., we should have:
1. version changed from '''1.0''' => 3.0
2. component changed from engine => doc ''unmodified''
3. priority from '''low''' => normal
Hope this helps. The ticket is still on my list,
but if someone wants to do it before I find time
to do it, he's more than welcome :)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/454>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets