Issue Bug Closed

#66135Computed properties are queried in workspace context

Albrecht Köhnlein 03/30/15, 10:24 updated 10/02/18, 11:45

Description

Hi everybody,

I have a project with an individual extension, where I’m extending tt_content with IRRE elements, including FAL relations.

  • tt_content
    • IRRE elements
      • FAL inside IRRE elements

In regular view, everything works find, but when I modify an existing IRRE element, using “workspaces”, the frontend throws a “Fatal Error” exception:

#1: PHP Catchable Fatal Error: Argument 3 passed to TYPO3\CMS\Frontend\Page\PageRepository::getFileReferences() must be of the type array, boolean given

And there also is a SQL error

caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery
ERROR Unknown column ‘_ORIG_pid’ in ‘field list’
lastBuiltQuery SELECT uid,pid,content,title,subtitle,image,link,text,tstamp,crdate,cruser_id,deleted,hidden,starttime,endtime,t3ver_oid,t3ver_id,t3ver_wsid,t3ver_label,t3ver_state,t3ver_stage,t3ver_count,t3ver_tstamp,t3ver_move_id,sorting,sys_language_uid,l10n_parent,l10n_diffsource,moduleimageslide,fieldname,_ORIG_pid,_ORIG_uid FROM tx_myextension_domain_model_modulecontent WHERE pid=-1 AND
t3ver_oid=530 AND
t3ver_wsid=5 AND tx_myextension_domain_model_modulecontent.deleted=0 LIMIT 1

Reviews 3