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

[BUG] Export document // Obsolete and removed function in use #143

Open
FailXSiegen opened this issue Feb 26, 2024 · 0 comments
Open

[BUG] Export document // Obsolete and removed function in use #143

FailXSiegen opened this issue Feb 26, 2024 · 0 comments

Comments

@FailXSiegen
Copy link

In all current versions including dev-master, 3.5.x-dev and 3.6.x-dev.

The issue:
If you are using the data director to export documents from objects an error occurs.

The lib/Pim/Item/Importer.php has an issue with removed functions since pimcore v 11
getContentMasterDocument() and setContentMasterDocument()
which are replaced with getContentMainDocument() and setContentMainDocument().

A simple str_replace from the functions did not help due to changes in the required set parameter object from the setContentMainDocument() function.

Type error Expected type 'Pimcore\Model\Element\ElementInterface'. Found 'Pimcore\Model\AbstractModel'.

@FailXSiegen FailXSiegen changed the title Export document // Obsolete and removed function in use [BUG] Export document // Obsolete and removed function in use Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant