Story #82189
closedEpic #90129: [Extbase] Issues regarding hidden or deleted records
Extbase modules switch off hidden fields as is backend
0%
Description
Working with Extbase and a module in a 7.6 backend I have processes, which explicitely work on hidden records. The records are hidden for the frontend, but are still valid records for internal processes of the backend. In order to get to related - hidden - models I tried the hack described by Oliver Hader in the below stackoverflow link. Did not work for me, though. I got into 500er errors and then just went on with old style queries to retrieve the uids of related hidden models.
I am really wondering. Is there no basic switch to shut off enabled fields for the backend completely? A switch to get the behaviour "backend" style. The "hidden" feature is all "frontend" style. Right? Any suggestions on how to implement such a switch? Besides perhaps overloading the QueryFactoryInterface?
config.modules_no_hidden_fields = 1
https://stackoverflow.com/questions/39993664/typo3-extbase-how-to-get-disabled-related-object-without-raw-sql-query
https://forum.typo3.org/index.php/t/153062/hidden-records-seem-to-be-unworkable-with-extbase-is-extbase-bloated-