taubes
Member
Hi
I found a bug in an a calculated field. The correct calculated field is shown but the value is not saved
when if have "if" condition in the calculated_field_function: if ($parameters_ar('field_x') == 1) { ... set return value ... } that references a field with the EDIT permission 'YES but disabled'
Strangely the auto calculated value is actually shown in the form but it is not saved.
This was reproducible in DaDaBIK 9 (enterprise) and 10.6 (platinum)
PHP Version: 7.3.27-1~deb10u1
mysql version: 5.5.5-10.3.27-MariaDB-0+deb10u1
Web server: nginx/1.18.0
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15
Best
Stefan
I found a bug in an a calculated field. The correct calculated field is shown but the value is not saved
when if have "if" condition in the calculated_field_function: if ($parameters_ar('field_x') == 1) { ... set return value ... } that references a field with the EDIT permission 'YES but disabled'
Strangely the auto calculated value is actually shown in the form but it is not saved.
This was reproducible in DaDaBIK 9 (enterprise) and 10.6 (platinum)
PHP Version: 7.3.27-1~deb10u1
mysql version: 5.5.5-10.3.27-MariaDB-0+deb10u1
Web server: nginx/1.18.0
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15
Best
Stefan