stable

Clone or download

Read-only

ReadOnlyFieldsDetector does not need to retrieve other post actions

Part of story #12189 prevent field modification according to state No functional change on read-only fields. I'll need the ReadOnlyFieldsRetriever for the REST route. Change-Id: Idb7e0dd22ef4dfe5701fb14958df30743d2a0633

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +2 −14 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +2 −14 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +2 −14 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +2 −14 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +2 −14 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/PostActionsRetriever.php +8 −12 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/ReadOnly/ReadOnlyFieldDetector.php +5 −6 Go to diff View file
A plugins/tracker/include/Workflow/PostAction/ReadOnly/ReadOnlyFieldsRetriever.php +54 −0 Go to diff View file
M plugins/tracker/include/Workflow/Transition/Update/TransitionReplicatorBuilder.php +2 −2 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/PostAction/ReadOnly/ReadOnlyFieldDetectorTest.php +5 −5 Go to diff View file
A plugins/tracker/phpunit/Tracker/Workflow/PostAction/ReadOnly/ReadOnlyFieldsRetrieverTest.php +70 −0 Go to diff View file