Bug #86102

Disable OR Enable button "view" while creating new tt_content record

Added by Stefan Froemken 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2018-09-03
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello Core-Team,

edit an existing tt_content-record. Click button "New" at top. An empty form appears. At top you will see button "View". Press "New" again. Empty form appears, but button "View" is gone.

Stefan

History

#1 Updated by Guido Schmechel 12 months ago

Problem maybe in typo3/sysext/backend/Classes/Controller/EditDocumentController.php makeEditForm()

At the second click there is no valid "$this->editconf"

First "New click"

http://master.local/typo3/index.php?route=%2Frecord%2Fedit&token=ec7678932fc73717cb55ad6f42af36f455a06234&edit[tt_content][217]=edit&returnUrl=%2Ftypo3%2Findex.php%3Froute%3D%252Fweb%252Flayout%252F%26token%3Db0fdfef7c39ed7c3e0f12ba16b4da2a37ecfa6cb%26id%3D55%23element-tt_content-217

Second "New click"

http://master.local/typo3/index.php?route=%2Frecord%2Fedit&token=ec7678932fc73717cb55ad6f42af36f455a06234&edit[tt_content][-217]=new&returnUrl=%2Ftypo3%2Findex.php%3Froute%3D%252Fweb%252Flayout%252F%26token%3Db0fdfef7c39ed7c3e0f12ba16b4da2a37ecfa6cb%26id%3D55%23element-tt_content-217

The difference is between the vanillaUid (217 and -217)

#2 Updated by Susanne Moog 12 months ago

  • Target version changed from 9 LTS to Candidate for patchlevel

#3 Updated by Riccardo De Contardi 12 months ago

I would suggest to remove the view button until the record has been saved (or disable it)

Also available in: Atom PDF