Bug #56248

You can not add new records (TCA) in the edit mode

Added by André Haehnel over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2014-02-24
Priority:Must have Due date:
Assigned To:- % Done:

100%

Category:- Spent time: -
Target version:6.2.0
TYPO3 Version:6.2 Is Regression:Yes
PHP Version: Sprint Focus:
Complexity:

Description

It is not possible to add new records in edit mode.
I have appended a small extension (test_tca) to adjust the problem.
I have tested this with version 4.6.18 and 6.1. Without problems.
Only in version 6.2, you can not add new records in edit mode.

test_tca_0.0.0_201402241724.zip - test_tca (2.8 kB) André Haehnel, 2014-02-24 17:57


Related issues

related to Core - Task #54085: Replace all strcmp() calls with === Resolved 2013-11-29

Associated revisions

Revision 630b877b
Added by André Haehnel over 1 year ago

[BUGFIX] Adding new records in edit mode broken

It was not possible anymore to use the "add new record" button
in TCA select fields on records with pid > 0.

This patch makes it work again; the redirect to the original page
gets prevented when a pid is set. This was handled the same way
in 4.6 and 6.1.

Change-Id: Iec058818405385efdacaebf5080f339371356810
Resolves: #56248
Related: #54085
Releases: 6.2
Reviewed-on: https://review.typo3.org/27935
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel

History

#1 Updated by Markus Klein over 1 year ago

  • Status changed from New to Needs Feedback

Thanks for your report.

What do you mean with "edit mode"?

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27935

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27935

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27935

#5 Updated by Helmut Hummel over 1 year ago

  • Is Regression changed from No to Yes

#6 Updated by Helmut Hummel over 1 year ago

Regression introduced in #54085

#7 Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27935

#8 Updated by André Haehnel over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF