Bug #31757
closedForeign field as label for relation
100%
Description
There seems to be a little Problem if you work with versioning/workspaces and have a intermediate table where
the label of this table is a foreign field.
If you create a new version in DRAFT Workspace there will be generated 2 records in database, an actual draft version and
a placeholder. And here's the problem in "class.t3lib_tcemain.php:883":
$newVersion_placeholderFieldArray[$TCA[$table]['ctrl']['label']] = '[PLACEHOLDER, WS#' . $this->BE_USER->workspace . ']';
As the label is a foreign field and therefore just a integer in our case, a flashmessage error is shown because insertDB now tries to
save a string value ("PLACEHOLDER, WS#1") to the Integer field and the checkStoredRecord method fails.
Updated by Tolleiv Nietsch almost 13 years ago
- Status changed from New to Needs Feedback
Are you able to provide a patch for that?
Updated by Gerrit Code Review over 11 years ago
- Status changed from Needs Feedback to Under Review
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Gerrit Code Review about 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Gerrit Code Review about 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Gerrit Code Review about 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Gerrit Code Review about 11 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Gerrit Code Review about 11 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Michael Stucki almost 11 years ago
- Category changed from Bugs to Workspaces
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
Updated by Gerrit Code Review over 10 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Gerrit Code Review over 10 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/22935
Updated by Anonymous over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ea61ec7ea9af8d4d8a57ef21086732463bf90a2b.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31283
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31284
Updated by Anonymous over 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset dfcec4de2512694efd5b231382868535e0d862ff.