Project

General

Profile

Actions

Bug #16911

open

TG wants to insert record but nothing was changed

Added by Philipp Gröbelbauer 9 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Support: Web
Target version:
Start date:
21.09.2023
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

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

clipboard-202309211608-fobf3.png View clipboard-202309211608-fobf3.png 11.3 KB Philipp Gröbelbauer, 21.09.2023 16:08
clipboard-202309211714-eurla.png View clipboard-202309211714-eurla.png 32.4 KB Philipp Gröbelbauer, 21.09.2023 17:14
Actions #1

Updated by Carsten Rose 4 months ago

  • Target version changed from 411 to 24.10.0
Actions

Also available in: Atom PDF