stable

Clone or download

Read-only

request #13497 Workflow XML import must not create comment not empty condition for transitions from new

In workflow XML import, if a comment not empty condition is added to a transition from new, it's added in the database, but it doesn't. In addition, the process of the transition from new must not deal with a comment not empty condition if defined. Change-Id: I34b4a36c542dfe5c20fd7bd28cdfa019c6777674

Modified Files

Name
A plugins/tracker/db/mysql/updates/2019/201906171504_delete_comment_not_empty_conditions_from_new_transitions_the_return.php +44 −0 Go to diff View file
M plugins/tracker/include/Workflow/Transition/Condition/CommentNotEmpty/Dao.class.php +11 −18 Go to diff View file
M plugins/tracker/include/Workflow/Transition/Condition/CommentNotEmpty/Factory.class.php +22 −6 Go to diff View file
M plugins/tracker/include/Workflow/Transition/ConditionFactory.class.php +13 −6 Go to diff View file
A plugins/tracker/phpunit/Tracker/Workflow/Transition/Condition/CommentNotEmpty/CommentNotEmptyFactoryTest.php +156 −0 Go to diff View file
R plugins/tracker/tests/workflow/Transition/Condition/CommentNotEmptyTest.php Go to diff View file