stable

Clone or download

Read-only

Computation field calcul correction

part of story #9090 have computed fields compatible with artifact links v2 To reproduce the issue : - have a hierarchy between two tracker - have a computed field Example : Id 1 (autocomputed value : 32) +-------+ + | | | | + ++ Id 2 (manual value : 7) Id 3 (autocomputed value : 25) + + | | | | + +------------------+ Id 4 (manual value 10) Id 5 (manual value 15) It should not break the calculation if you have more than one computed field on a tracker For example on a tracker A have 2 computed field : - Field A (target : remaining effort) - Field B (target : aaaaaaa) If you set a value in A, B should be empty Change-Id: I12017c2f9f66d58924d655ce6fdd34f3314e4b30

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +19 −60 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_ComputedDao.class.php +32 −12 Go to diff View file