Bug #16911
open![Assignee: Support: Web](/images/group.png?1666878389)
TG wants to insert record but nothing was changed
0%
Description
Template group is trying to do an Insert, even though none of its fields have been changed.
As a result, an empty string is passed to the insert statement for what should be a date value.
This produces the following error, which does not appear in qfq.log:
Error occurred on https://webwork22.math.uzh.ch/my/finanztool-anstellungen, when saving an employment record while leaving one of the date fields on the 'Pauschalzahlungen' tab empty.
(Error no longer occurrs, because of the following checks in the TG afterSave:
(Remove these if you want to reproduce error)
There is a select FE (pauschal_cost_type_%d) in this template group. Disabling that FE fixes the error, suggesting that it is somehow responsible for initiating the faulty insert request.
Files