Project

General

Profile

Actions

Bug #66882

closed

Workspace 'file_reference'

Added by Entwickler PHP over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-05-11
Due date:
% Done:

0%

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

Description

Hi

in Workspace it tries to make a MySQL SELECT query to the table 'sys_file' with the fields: 'uid,pid,t3ver_wsid,t3ver_state,t3ver_oid'

But in 'sys_file' table those columns do NOT exist: 't3ver_wsid,t3ver_state,t3ver_oid'. That's why it throws an exception at (line: 172):

typo3/sysext/version/Classes/Dependency/ElementEntityProcessor.php

This occurs when 'file_reference' (in TCA or flexform) is used in a custom extension.

Adding those columns to 'sys_file' will solve the problem.

#
# Image/File (file_reference) element workspace fix
#
CREATE TABLE sys_file (
  `t3ver_wsid` int(11) NOT NULL DEFAULT '0',
  `t3ver_state` tinyint(4) NOT NULL DEFAULT '0',
  `t3ver_oid` int(11) NOT NULL DEFAULT '0',
);

I hope this case will be considered with the release of next TYPO3 version.

The TYPO3 version is 6.2.12

Sincerely,
Ramazan Gezer


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #66523: Refindex error for link wizard fields in flexformsClosed2015-04-21

Actions
Actions #1

Updated by Wouter Wolters over 9 years ago

  • Status changed from New to Needs Feedback

Hi, can you test https://review.typo3.org/#/c/38858/ ?
This should solve your problem.

Actions #2

Updated by Wouter Wolters over 9 years ago

  • Status changed from Needs Feedback to Resolved

Resolved with the referenced patch.

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF