On 15-3-2014 17:08, j. van den hoff wrote:
Does not work for me. Clicking "Edit" in the ticket shows the "Edit
Ticket" page where edit every ticket field (title, status, etc.) and
also append a new comment/remark, but there seems to be no user
interface for editing previous comments even if I submitted the ticket
and I am the repo admin. This was possible some time ago IIRC.

yes, same for me here: no way to edit previous comments, irrespective of
privileges.

This was changed when the `ticketchng` table was added.

That table enables tracking all comments added to a ticket separately. Before, a ticket only had a single 'comments' field, and each new comment was appended to that field. Editing the comments was therefore easy; just a question of replacing the entire field, instead of appending to it.

Now, it's become much more complex, because you'd need to replace a specific row in the ticketchng table. In itself, this wouldn't be that hard to do, but I've no idea how to process such an edit as a ticket-change artifact, which is what ultimately determines what ends up in the ticket and ticketchng tables.

My guess is that the current default ticket-edit page doesn't allow editing separate comments either because it's impossible in this setup, or because it was too hard to do.

(I've tried adjusting the ticket-edit page to allow this, because I wanted to restore the change preview possibility I had built in the old ticket-edit page, but gave up because it was taking too much time to solve).
--
Martijn Coppoolse
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to