Skip to content
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

Project config - Rebuilding removes order field layout #948

Closed
ghost opened this issue Aug 2, 2019 · 2 comments
Closed

Project config - Rebuilding removes order field layout #948

ghost opened this issue Aug 2, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2019

Description

When executing the project-config rebuild command my order field layout is removed from the config. I had to re-add my fields because I noticed they had disappeared. Because I was afraid my config was out-of-sync I decided to rebuild it. After doing that I noticed my layout got removed again when I was reviewing the changes in my git client. I've checked the rebuildProjectConfig function inside ProjectConfigData (helper) class and it doesn't look like its including the order field layout.

Steps to reproduce

  1. Rebuild your project-config using the command
  2. The custom order field layout is removed from the project.yml

Additional info

  • Craft version: 3.2.8
  • PHP version: 2.1.10
  • Database driver & version: MySQL 5.5.59
  • Plugins & versions: Will provide composer.json if requested
@ghost
Copy link
Author

ghost commented Aug 6, 2019

This should be a high priority issue as it breaks my and probably a lot of other project config users sites. Every time the config is applied my order field layout is cleared because it isn't being set in the config. This causes all templates/plugins that depend on those fields to break.

@andris-sevcenko
Copy link
Contributor

Yeah, that's an oversight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant