Closed (fixed)
Project:
Entity Purge
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2024 at 04:05 UTC
Updated:
23 Sep 2024 at 16:34 UTC
Jump to comment: Most recent
Module is successfully installed. After creating a purge type configuration file, running a configuration import fails with the following error:
The import failed due to the following reasons:
Unexpected error during import with operation create for entity_purge.type.my_entity_purge: The "" entity type does not exist.
Running the configuration import again is successful, and running purge operations of the imported type works as expected.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
alexpottThis is happening because the entity type provided by the module incorrectly identifies itself as being a config entity that provides a bundle type for some other entity type. It does not do that.
Comment #5
alexpottI tested this on a clean install and after installing the dev version and changing to the bug fix branch there entity type definitions did not need updating so there's no upgrade path necessary here.
Comment #7
krystalcode commented- The initial intention to potentially have a content entity as well for logging purge operations as well. This is not supported for now, and it might never be.
- The "bundle" configuration property is a bit different, it is a property used by the Entity module and it has to do with making the PurgeType config entity "bundleable" via the PurgeConfigurator plugin. That's also not needed right now in this module so we're good to remove that as well.
Thanks.