-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I try to use tags for tl_files. The values get stored on the database (I can see them), but won't be shown after load of the edit view.
I registered a load callback on this particular field and the $value is an empty array [].
Weird is also, that the activeRecord on the DataContainer in that callback doesn't have the property set:
[Contao\FilesModel](file:///vendor/contao/core-bundle/contao/models/FilesModel.php#L93) {#11538 ▼
#arrData: array:19 [▼
"id" => 254
"pid" => b"\x12?@*³ä\x11ðœƒ\v)ãÁZ\x1A"
"tstamp" => 1762416366
"uuid" => b"ùê?^´š\x11ð¥`‰—H´\x02î"
"type" => "file"
"path" => "files/foo/bar/foo.jpg"
"extension" => "jpg"
"hash" => "d95cdc35f1492931b423b5af9713172e"
"found" => true
"name" => "foo.jpg"
"importantPartX" => 0.0
"importantPartY" => 0.0
"importantPartWidth" => 0.0
"importantPartHeight" => 0.0
"meta" => ""
"lastModified" => 1761723815
"textTrackLanguage" => ""
"textTrackType" => null
"noindex" => false
]
#arrModified: []
#arrRelations: array:1 [▼
"associationTags" => array:4 [▼
"table" => "tl_cfg_tag"
"field" => "id"
"type" => "haste-ManyToMany"
"load" => "lazy"
]
]
#arrRelated: []
#arrEnums: []
#blnPreventSaving: false
}Is this a known limitation?
The same field definition (in contao/dca/tl_files.php) works as expected in contao/dca/tl_content.php.
Metadata
Metadata
Assignees
Labels
No labels