Bug #70542

Story #69617: FormEngine bugs

Save and new record fails in workspace mode

Added by Oliver Hader almost 4 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Start date:
2015-10-09
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

The exception #1437656456: $uid must be positive integer is issued when using the save and new button in the backend and working on a workspace.
DatabaseParentPageRow does not have any workspace handling on the "neighborRow" variable.

Associated revisions

Revision bd6859e3 (diff)
Added by Nicole Cordes over 3 years ago

[BUGFIX] Set correct record information for SaveAndNew

This patch ensures the correct record information for saving and
inserting a new record even in a workspace.

Resolves: #70542
Releases: master, 7.6
Change-Id: I3b88b08a55600f8c7bc5e2c2f05444624181db83
Reviewed-on: https://review.typo3.org/47153
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

Revision 82cd7468 (diff)
Added by Nicole Cordes over 3 years ago

[BUGFIX] Set correct record information for SaveAndNew

This patch ensures the correct record information for saving and
inserting a new record even in a workspace.

Resolves: #70542
Releases: master, 7.6
Change-Id: I3b88b08a55600f8c7bc5e2c2f05444624181db83
Reviewed-on: https://review.typo3.org/47350
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Oliver Hader almost 4 years ago

  • Description updated (diff)
  • Priority changed from Should have to Must have
  • Sprint Focus set to Stabilization Sprint

#2 Updated by Oliver Hader almost 4 years ago

  • Status changed from New to Accepted

#3 Updated by Christian Kuhn almost 4 years ago

  • Parent task set to #69617

well ... this vanillaUid / negative value stuff is pretty uncool anyway. it would simplify the stuff already if we could refactor that. i have currently to detailed plan on how to tackle this stuff, needs to wait a bit until other bug fixes are done on my side.

#4 Updated by Riccardo De Contardi over 3 years ago

  • Target version changed from 7 LTS to Candidate for Major Version

Still present on the latest 8.0-dev master

#5 Updated by Nicole Cordes over 3 years ago

  • Assignee set to Nicole Cordes

#6 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted 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/47153

#7 Updated by Gerrit Code Review over 3 years 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/47153

#8 Updated by Gerrit Code Review over 3 years 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/47153

#9 Updated by Oliver Hader over 3 years ago

  • Description updated (diff)

#10 Updated by Oliver Hader over 3 years ago

The getNewIconMode issue can be tested with e.g. putting this to the Users TSconfig:
options.saveDocNew.tt_content = top

#11 Updated by Gerrit Code Review over 3 years 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/47153

#12 Updated by Gerrit Code Review over 3 years ago

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

#13 Updated by Gerrit Code Review over 3 years ago

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

#14 Updated by Nicole Cordes over 3 years ago

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

#15 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF