- Issue created by @yassminzayan3
- Status changed to Postponed: needs info
7 months ago 2:24pm 23 November 2023 - πΊπ¦Ukraine abramm Lutsk
There's a module configuration page (
/admin/config/content/single-content-sync
) which has a setting for entity types allowed for export.Can you please check if your entity types are allowed for export there?
when i allowed all entities type , the drush runs succssfully
but when choose specific entity type to export give me that error
[error] Message: The export couldn't be completed since it contains disallowed content.- π§πͺBelgium artycal
Could you tell us what entity type you were trying to export? Perhaps a paste of your full command could provide us some insight
i choose (custom block - media -custom menu link - content - taxononmy term)
when choose in content , some content type prevent to export like landing page - basic page
and run drush content:export --all-content
or drush content:export
give error- π§πͺBelgium artycal
If I understand correctly, your configuration for the export is as follows (for example):
Custom block, media, custom menu link, content, taxonomy term -> These are allowed to be exported.Then under Content, you have selected some sub types, for example "basic page"
And now, when you run
drush content:export node
ordrush content:export --all-content
, you are getting the error message.Following the steps I outlined above, I was able to reproduce the error
- Assigned to artycal
- Status changed to Active
7 months ago 7:07am 27 November 2023 - Merge request !82Issue #3403675: Add check for allowed bundles during export by drush command β (Open) created by artycal
- Issue was unassigned.
- Status changed to Needs review
7 months ago 10:09am 1 December 2023 - π§πͺBelgium artycal
Reworked the getEntitiesToExport function in the CommandHelper which should fix this issue