Edit Comments and Descriptions in Bugzilla

PUBLISHED ON JUL 7, 2014 — IMPORTED FROM TUMBLR, TEXT

I found it a bit baffling that this functionality was not built in, but from an archival perspective, it makes sense. If you need it for your project, there’s an easy workaround:

  • Go to this GitHub repo and from the Extensions directory, copy the EditComments directory over to your installation’s Extensions directory.
  • In your Bugzilla directory, from the command line, run ./checksetup.pl to build the necessary tables and extra columns and other magical things.
  • Lastly, in template/en/default/bug/comments.html.tmpl, add the following line to your comment_text div: [% Hook.process(‘a_comment-end’, ‘bug/comments.html.tmpl’) %]. This provides a link to turn on editing for that field.

Since I don’t have memcaching enabled [yet!], I commented out line 229 from extensions/EditComments/Extension.pm. Once I get that memcache going, though, that pound sign is coming right out.

I hope this helps. It took me a while to put this all together, since the information is rather dispersed.

Happy bug tracking!

TAGS: BUGZILLA