Actions
Bug #66882
closedWorkspace 'file_reference'
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
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.
Updated by Wouter Wolters over 9 years ago
- Status changed from Needs Feedback to Resolved
Resolved with the referenced patch.
Actions