stable

Clone or download

Read-only

Present fields as read-only in Cardwall modal

Part of story #12189 prevent field modification according to state How to test: Forge your DB: - Get a transition id (for example, from "To Do" to "On going") and insert a new row in plugin_tracker_workflow_transition_postactions_read_only - Get the id you just inserted, get field ids and insert new rows in plugin_tracker_workflow_transition_postactions_read_only_fields - Set an artifact to "On going" - When you edit it via the "Edit" modal in the Cardwall, all the fields you marked as read-only in the DB should appear non-editable. - No functional changes on Computed fields Change-Id: Iac3050eb8c9d6e0357df17587a8a7198d56fc142

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +59 −34 Go to diff View file
M plugins/tracker/include/Workflow/WorkflowUpdateChecker.php +1 −5 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ArtifactLinkTest.php +2 −1 Go to diff View file