-
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
All saved DataDefinitions in- and exports are missing when upgrading Pimcore from 10.6.x to 11.x #411
Comments
PRs welcome. |
I can't provide you with a PR. It seems DataDefinitions is just not ready for Pimcore 11 and it would be nice this will be changed soon. There seems no development in this tool anymore and that's sad :(. |
I don't have access to these stats you're talking about so can't judge what "most persons" experience, I can only react to your claim
as false since we're using it with Pimcore 11 since #399. |
DataDefs is Pimcore 11 ready. I am pretty sure this issue is fixed. |
This is still not solved. Is there any information I can provide from our environment to figure out what goes wrong when upgrading from a previous version? |
there is a migration command from the old .php configs to yaml configs |
Can you provide this command? I don't see any upgrade instructions anymore in the readme of Data Definitions. |
https://github.com/instride-ch/pimcore-data-definitions/blob/5.0/src/DataDefinitionsBundle/Command/ConvertImportDefinitionsToYaml.php
|
These commands give errors: []# bin/console data-definition:configuration:importer:convert-to-yaml And I still have the same issue I am unable to add an import or export defenition because the Add button is not active. |
@Hbitvof Regarding the commands, if you create the folder var/config/import-definitions and var/config/export-definitions, does it work then? Regarding the backend: Might be the same Problem? |
That's working. I have both the import and export definitions back! But I am still unable to add a definition. The Add button is still not active. |
We use the default Pimcore behaviour for writing these settings. Basically this code is responsible for it: https://github.com/pimcore/pimcore/blob/56f8f152e5f0cead1f003b93d814e26279335505/lib/Config/LocationAwareConfigRepository.php#L122 So you can see it is only writeable when write target is a Symfony Config and its in debug mode. So what you can do is, you can migrate yours to the settings store. or at least the new ones by adding this config:
imports:
|
When changing to debug mode I am able to add definitions. This wasn't needed in the previous version of PimCore. Now everything is working! |
Sorry, we just follow the way Pimcore handles it... |
After upgrade Pimcore from 10.6.x to 11.x and also updating Datadefinitions to 5.x all saved DataDefinitions in- and exports are missing and the Add button is grayed out:
It seems other persons also have the some kind of issues: #400
Can this be fixed soon? At the moment we are unable to update to Pimcore 11.x based on this problem because we use DataDefinitions to import many different datafeeds into Pimcore.
The text was updated successfully, but these errors were encountered: