Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.0.7, 5.1, 5.2
-
5
-
1
-
Severity 3 - Minor
-
-
Description
- Add a post function that will throw an exception when executed to a workflow transition (e.g. you can add a post function from a plugin that you subsequently disable or hack the workflow XML in the db to point to a class that does not exist). Make sure it is positioned after the "ReIndex Post Function".
- Assign that workflow to a project.
- Create an issue in that project.
- Move that issue through the transition such that we get an error on the server.
- (BUG) Do a search for the issue. Note that the issue looks like it has been transitioned when viewed on the issue navigator.
- Look at the issue directly. Note that the issue WAS NOT transitioned.
In < 5.0.6 the indexed issue would not have changed. This was introduced as part of the fix for JRADEV-8810. If the transition is rolled-back then we need to make sure the issue is not indexed.