Skip to content

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

@ryansupercool

Description

@ryansupercool

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions