pluginpal / strapi-plugin-config-sync

:recycle: CLI & GUI for continuous migration of config data across environments
https://www.pluginpal.io/plugin/config-sync
MIT License
255 stars 37 forks source link

Can't import changes in the core store table #112

Closed jklimonda closed 1 year ago

jklimonda commented 1 year ago

Bug report

Issues trying to import config changes in core store settings in Strapi 4.14.5

Describe the bug

The config changes can easily get exported, but can't get imported.

Steps to reproduce the behavior

Assuming there is an article type. for key 'plugin_content_manager_configuration_content_types::api::article.article' Running version 4.14.5

  1. In local environment do changes requiring changes in the key mentioned above - for example, change a label on a field, make read only, add new field, etc.
  2. Export config changes and commit in the repo
  3. Release changes to the hosted environment
  4. In Settings/ConfigSync/Interface page you can see a difference in the config.
  5. Click import button
  6. You can see the config in diff state and changes are not persisted 3

Expected behavior

Config changes in core store are imported

Screenshots

If applicable, add screenshots to help explain your problem.

Code snippets

If applicable, add code samples to help explain your problem.

System

Additional context

Add any other context about the problem here.

boazpoolman commented 1 year ago

Probably a duplicate of #110

boazpoolman commented 1 year ago

Are you sure you're running version 1.1.3 of the plugin?

jklimonda commented 1 year ago

Hey,

Yes, been having these issues since yesterday when I updated strapi to 4.14.5. I had the plugin in version 1.1.3. I only tried updating the plugin today to 1.2.1, literally 15 minutes ago, but it didn't help.

boazpoolman commented 1 year ago

Hmm. Then it might not be a duplicate of #110. I'll investigate later.

jklimonda commented 1 year ago

Thank you!

jklimonda commented 1 year ago

I's lso like to say that other config changes, like admin-role.strapi-author.json go through without issue. I only have an issue with importing changes for the key 'plugin_content_manager_configuration_content_types::api::article.article'

boazpoolman commented 1 year ago

Gotcha. That's why I thought it might be related to #110 as that issue also only happens for plugin_content_manager_configuration_content_types.... config files.

boazpoolman commented 1 year ago

@jklimonda Could you run a yarn why strapi-plugin-config-sync and paste the output in a comment on this issue.

boazpoolman commented 1 year ago

I've made a new release with some fixes (v1.2.2)

Could you install that and see if the issue is resolved?

jklimonda commented 1 year ago

Hey. Sorry for late response, today I could test the config changes with the new plugin. It works fine in version 1.2.2

Thank you very much for a rapid fix.