Project

General

Profile

Actions

Bug #66135

closed

Computed properties are queried in workspace context

Added by Albrecht Köhnlein over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2015-03-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Files

error-php.png (108 KB) error-php.png Albrecht Köhnlein, 2015-03-30 10:24
error-sql.png (338 KB) error-sql.png Albrecht Köhnlein, 2015-03-30 10:24

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #68643: Non-existing fields _ORIG_pid and _ORIG_uid in SQL statementClosed2015-07-30

Actions
Actions

Also available in: Atom PDF