#106547$config Parameter passed to ItemsProcFunc does not contain a concrete Site when editing a page-translation
Description
In translations the “site” field of the $config parameter contains a NullSite.
I don’t know, if this has been fixed in V13/V14 but it is valid for V12. Also i don’t know, if this affects other record types as well.
I wouldn’t target the patchlevel if it was true for all languages but having different parameters depending on the language seems very odd.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 1
History 2
-
Philipp Wrann commented 04/10/25, 13:06
-
Georg Ringer commented and changed attached Bildschirmfoto 2025-04-16 um 09.25.29.png status
NewClosed 04/16/25, 07:27Hey Philipp,
thanks for reporting this issue. I just checked and this works fine in v14/v13, see screenshot attached
Bildschirmfoto%202025-04-16%20um%2009.25.29.pngAs v12 is in priority bugfix mode, we won’t fix it there anymore and I am closing the issue
If you are dealing with a flex-field, you can workaround this by adding something like this (this can easily be adopted and applied for non-flex context):
Of course you would have to inject the SiteFinder into your class