stable

Clone or download

Read-only

You should be able to back to an autocomputed value, even if manual value is 0

part of story #9090 have computed fields compatible with artifact links v2 On an artifact set a manual value to 0, submit and stay On the same artifact, click on back to autocompute, submit and stay You should see the coorect autocomputed value and not 0 Change-Id: I9b3d4f043100538072b878d3936c271aabeeb4f5

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +26 −44 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ComputedTest.php +78 −12 Go to diff View file