Issue Bug Closed

#70275Default-Values in MM-Relations are not resolved correctly

Andreas Allacher 10/01/15, 16:47 updated 10/21/17, 17:42

Description

Because Default values in the new FormEngine are set via DatabaseRowInitializeNew the value is set to [‘databaseRow’][FIELD_NAME]

However, for MM-Relations like category tree this will then fail in TcaSelectItems because it tries to retrieve the data via RelationHandler but as the event itself does not yet exist and the values in the MM table don’t exist yet either, this will return an empty array.

Reviews 1