This came up with [#1546]. There, project somehow managed to have Announcement flag set on a thread, which triggered error on display. However, further investigation showed that it doesn't really seem to be possible to set such a flag on a thread in current UI, because of:
- Bad UI layout of thread actions (see screenshot) https://sourceforge.net/p/allura/discussion/general/thread/8dcaf833/
- Wrongly tested condition (always false) for checking if thread moderation action should be shown
- Broken thread moderation widget which causes exception in EW on render
Diff:
Related
Tickets:
#15461 & 3 are now fixed in ps/1549. 2 is related to some issues with EasyWidget widgets, sent email to Rick asking for suggestion how to resolve them.
Diff:
Related
Tickets:
#1546Jenny, I'd appreciate your review of what's currently done.
Looks good
Jenny, can you make a final look-over at this? Beyond what you already looked at, this added functional tests for thread moderation, and then fixed validation errors these tests uncovered. I also have corresponding changes to sftheme's *.scss file (will commit them togetether with merging this).
Merged to dev.