pimcore-data-definitions
pimcore-data-definitions copied to clipboard
Configuration of ImportDefinition is returned when getting ExportDefinition by ID
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Branch? | 5.1.1 |
I'm currently working on upgrading a project to Pimcore 11 and i'm facing an issue where Import and ExportDefinitions are not correctly returned.
When running the list command for exports and import i'm correctly seeing all the exports and imports and their corresponding id's, but when running my Functional tests and getting exports by name, it's not find them. When getting the exports by id, I do get an instance of ExportDefinition but with all the configurations, including mapping of the import definition with the corresponding id. I've ran the convert php to yaml commands and made sure they all have an id again.
I have an ExportDefinition with id 7 called 'Tech Mapping' and an ImportDefinition with id 7 called 'Washing Instruction'. When finding export with name, I get the exception "Export Definition with Name "Tech Mapping" does not exist.". When find export with id 7, I get an ExportDefinition with all the data from the ImportDefinition 'Washing Instructions'.
I've never had this problem. Am I missing something?