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
The referenced object has not been imported yet. So this reference is not resolvable. For this reason, the deserializer throws an error
> /Users/ajung/src/plone6.buildout/src/collective.exportimport/src/collective/exportimport/import_content.py(366)import_new_content()
-> new = deserializer(validate_all=False, data=item)
(Pdb)
zExceptions.BadRequest: [{'message': 'Could not resolve object for path=/community/meinung/onlineangebote-lehramtsstudium', 'field': 'related_url', 'error': 'ValidationError'}]
and stops with the further processing on the object. E.g. the review state of this object is then not correctly set (and remains in private rather than published state).
The text was updated successfully, but these errors were encountered:
zopyx
changed the title
Content importer does not deal correctly with unresolvable references
Content importer does not deal correctly with unresolvable references and omits further (necessary processing steps)
Jun 16, 2022
We have content-types that contains a
RelationChoice
field with a value likerelated_url': '/community/meinung/onlineangebote-lehramtsstudium'
The referenced object has not been imported yet. So this reference is not resolvable. For this reason, the deserializer throws an error
and stops with the further processing on the object. E.g. the review state of this object is then not correctly set (and remains in
private
rather thanpublished
state).The text was updated successfully, but these errors were encountered: