Bug #26605
closed
Swapping throws ExtDirect Exception
Added by Sebastian Müller over 13 years ago.
Updated about 6 years ago.
Description
Hey Everyone,
while working with workspaces I tried to test the swap functionality and got the following exception.
Warning: Missing argument 3 for tx_Workspaces_ExtDirect_ActionHandler::swapSingleRecord() in C:\xampp\htdocs\typo3_src-4.5.2\typo3\sysext\workspaces\Classes\ExtDirect\ActionHandler.php on line 72
[{"tid":18,"action":"ExtDirectActions","method":"swapSingleRecord","type":"rpc","result":null,"debug":""}]
how to reproduce: try to swap a CE from a workspace with the live CE.
- Status changed from New to Accepted
- Assignee set to Oliver Hader
- TYPO3 Version set to 4.5
Seems like parameter that are not used/unset are not delivered to the server by ExtDirect.
In this case "record.json.wsversion" is NULL and produces this bug.
- Subject changed from swapping throws ExtDirect Exception to Swapping throws ExtDirect Exception
Patch set 1 of change I5980c9e701119637794a7c013dcd6aff413f1018 has been pushed to the review server.
It is available at http://review.typo3.org/2707
- Status changed from Accepted to Under Review
- Target version changed from 4.5.3 to 4.5.4
Patch set 1 of change I02f4733f5dd2ec2128b26cd33465c42898a18ce6 has been pushed to the review server.
It is available at http://review.typo3.org/2722
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:da651b0436fc99e6526c4a919e56dc7569430cfd.
- Category changed from Bugs to Workspaces
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version deleted (
4.5.4)
- Status changed from Resolved to Closed
Also available in: Atom
PDF