Bug #87046

Exception on sendToStage with User TsConfig option "options.workspaces.changeStageMode = pages"

Added by Devid Messner 7 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2018-11-30
Due date:
% Done:

100%

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

Description

steps to reproduce
1. set User TsConfig settings "options.workspaces.changeStageMode = pages"
2. modify a content element
3. save the content & go to the preview
4. click "send to stage .." - button

you get an exception in the ajax request:

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Illegal offset type in /typo3/sysext/workspaces/Classes/DataHandler/CommandMap.php line 565


Related issues

Related to TYPO3 Core - Task #88172: Add scalar/return type hints in CommandMap Under Review 2019-04-18

Associated revisions

Revision 5a59afc3 (diff)
Added by Devid Messner 2 months ago

[BUGFIX] Use correct value for remove function

The function "remove" requires a string for the param $id,
but got an array.

Resolves: #87046
Releases: master, 9.5
Change-Id: Ia7b6d7ac107f65fb219577e2803509fb7882d21a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/58997
Tested-by: Anja Leichsenring <>
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Reviewed-by: Anja Leichsenring <>
Reviewed-by: Stefan Froemken <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Benni Mack <>

Revision e031b0ba (diff)
Added by Devid Messner 2 months ago

[BUGFIX] Use correct value for remove function

The function "remove" requires a string for the param $id,
but got an array.

Resolves: #87046
Releases: master, 9.5
Change-Id: Ia7b6d7ac107f65fb219577e2803509fb7882d21a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60533
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 7 months ago

  • Status changed from New 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/58997

#2 Updated by Gerrit Code Review 7 months 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/58997

#3 Updated by Gerrit Code Review 7 months 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/58997

#4 Updated by Gerrit Code Review 2 months 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/c/Packages/TYPO3.CMS/+/58997

#5 Updated by Gerrit Code Review 2 months 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/c/Packages/TYPO3.CMS/+/58997

#6 Updated by Gerrit Code Review 2 months ago

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

#7 Updated by Mathias Brodala 2 months ago

  • Related to Task #88172: Add scalar/return type hints in CommandMap added

#8 Updated by Gerrit Code Review 2 months ago

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

#9 Updated by Gerrit Code Review 2 months ago

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

#10 Updated by Devid Messner 2 months ago

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

#11 Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF