-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration of ImportDefinition is returned when getting ExportDefinition by ID #424
Comments
How do you use the getByName functions? Can you give me some examples? |
Hi @dpfaffenbauer. Thanks for the super fast response! I'm either using:
But also importing
And then using |
In my Functional Codeception tests i'm using:
|
Ok, that will help, I'll give a test sometime this week? |
Thanks. I will see if I can find the problem in the bundle my self in the meantime. I think there is something weird going on somewhere. ImportDefinitions work correctly |
It seems the caching mechanism in So |
@paulverdu was just checking too, yes, you are right. Do want to make a PR to change that? |
Just changed the code to add the config key from each individual Dao to the settingsStoreScope value. Testing it now and will create a PR 👍 |
Closed since it's fixed with #427 |
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?
The text was updated successfully, but these errors were encountered: