Bug #67107
closed
Fieldtypes "none" and "user" auto-save field value on record creation
Added by Andreas Wolf over 9 years ago.
Updated about 6 years ago.
Category:
DataHandler aka TCEmain
Description
When a field is configured with type "none" or "user", FormEngine sends a value to DataHandler when the record is created. This could lead to errors if the field is not present.
For further save attempts of existing records, no value is sent. This behaviour is inconsistent and should be fixed in one or the other direction (I tend to never set a value, at least for user).
- Category changed from FormEngine aka TCEforms to DataHandler aka TCEmain
The field is not set by DataHandler, but the default value is initialized by DataHandler, so this is where this should be fixed.
If a default value is specified for type none, this should be set, but otherwise the field should be left out.
- Target version changed from 6.2.13 to 6.2.14
- Target version changed from 6.2.14 to 6.2.15
- Target version changed from 6.2.15 to 6.2.16
- Status changed from Accepted to Closed
i tested this again: type=none (at least in v9 master and probably since v7) does NOT neccessarily need a db field in the database and as far as i can see, it is also never written.
for type=user this is different, a db field must exist.
Also available in: Atom
PDF