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

[5.x]: Address fieldLayout not restored when rebuilding project config #16189

Closed
ryansupercool opened this issue Nov 22, 2024 · 2 comments
Closed
Assignees
Labels

Comments

@ryansupercool
Copy link

ryansupercool commented Nov 22, 2024

What happened?

Description

It would appear that when clearing out the project config files and running craft project-config/rebuild, addresses.fieldLayouts is not restored.

Steps to reproduce

  1. Save Address field layout
  2. Remove the loaded project config
  • clear caches
  • delete config/project
  • remove data from projectconfig table
  • clear storage/config-deltas, storage/runtime
  1. Run craft project-config/rebuild

Expected behavior

When running craft project-config/rebuild the layout data is added back to config/project/addresses/fieldLayouts.

Actual behavior

When running craft project-config/rebuild the layout data is missing from config/project/addresses/fieldLayouts.

Craft CMS version

5.5.2

PHP version

8.2.15

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just
Copy link
Contributor

i-just commented Nov 22, 2024

Hi, thanks for reporting! I raised a PR for this.

@brandonkelly
Copy link
Member

Craft 4.13.3 and 5.5.3 is out with that fix. Thanks again!

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

No branches or pull requests

3 participants