[MAGNOLIA-9059] YAML simple include not working when not on first position Created: 22/Aug/23  Updated: 09/Feb/24  Resolved: 09/Feb/24

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Bartosz Staryga Assignee: Phong Le Quoc
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2d
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: Support
Team: DeveloperX

 Description   

Steps to reproduce

  1. Follow example for simple include from documentation page https://docs.magnolia-cms.com/product-docs/6.2/Developing/Reusing-configuration/YAML-inherit-and-include.html#_simple_include
  2. Move include down the list of properties
form:
  properties:
    title:
      $type: textField
      label: Title
    !include:/module-a/includes/categorization-fields.yaml
  1. Open dialog

Expected results

Dialog opens with included properties rendered after title prop.

Actual results

💥

Workaround

Include as in documentation as first in the list of properties and use always layout to modify the order

Development notes


Generated at Mon Feb 12 04:38:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.