Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AfterDatabaseOperations.php: Usage of BackendUtility::getMovePlaceholder removed in TYPO3 v10 #22

Open
sxp-dalibor opened this issue Mar 16, 2023 · 7 comments

Comments

@sxp-dalibor
Copy link

File: Classes/DataHandler/AfterDatabaseOperations.php
Line: 52

Use case: When editor is in Workspaces mode and drag&drops a content element from grid element outside of grid element, of vice versa, the following exception is thrown:
Call to undefined method TYPO3\CMS\Backend\Utility\BackendUtility::getMovePlaceholder()

@Bunnyfield
Copy link
Contributor

Fixed with version 11.0.0

@cundd
Copy link

cundd commented Jan 26, 2024

🤔 Is this really fixed? The current version still contains the call to getWorkspaceVersionOfRecord().

@Bunnyfield
Copy link
Contributor

@cundd Could you please provide a filename and a line, where you found it? PHPStorm's finder did not give any results for Gridelements version 11.1.0

@cundd
Copy link

cundd commented Jan 29, 2024

Sorry, I reported the wrong method-name.

The code still contains getMovePlaceholder() which should be replaced. (I think getWorkspaceVersionOfRecord() would be the new method to call)

@Bunnyfield
Copy link
Contributor

Aah - OK - reopened the issue now.

@Bunnyfield Bunnyfield reopened this Jan 29, 2024
@cundd
Copy link

cundd commented Jan 29, 2024

Thanks a lot.

Maybe a commit from VHS containing a fix for this (amongst others) can help: FluidTYPO3/flux@94a832a

cundd added a commit to iresults/gridelements that referenced this issue Apr 4, 2024
…odersCare#22)

This fix will invoke `getWorkspaceVersionOfRecord()` instead of
`getMovePlaceholder()` on TYPO3 version 11 and above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants