You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
The text was updated successfully, but these errors were encountered:
FailXSiegen
changed the title
Export document // Obsolete and removed function in use
[BUG] Export document // Obsolete and removed function in use
Feb 26, 2024
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'.
The text was updated successfully, but these errors were encountered: