[MSITEMESH-51] Module conditionally bootstraps availableComponents 'externalFragment' which has unknown property 'label' causing node2bean problems Created: 20/Dec/16  Updated: 22/Dec/16  Resolved: 22/Dec/16

Status: Closed
Project: SiteMesh
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLSTK-1547 Old properties still bootstrapped Closed
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
Epic Link: Definitions app problems
Sprint: Basel 75
Story Points: 2

 Description   

STK sample bootstrap file config.modules.standard-templating-kit.templates.pages.stkSection.areas.main.areas.opener.availableComponents.externalFragment.xml has unknown property label (see info.magnolia.rendering.template.ComponentAvailability) causing multiple node2bean probelms because template stkSection is extended multiple times – inheriting the problem to other templates:

template: standard-templating-kit:pages/demo-features/stkSectionWithOpener (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionWithOpener ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment

template: standard-templating-kit:pages/demo-features/stkSectionFloating (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionFloating ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment

template: standard-templating-kit:pages/demo-features/stkSectionWithHeader (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionWithHeader )Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/demo-features/stkSectionNoExtrasPromos (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionNoExtrasPromos ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/demo-features/stkSectionWithTwoExtras (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionWithTwoExtras ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/demo-features/stkSectionWithIntroNoHeader (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionWithIntroNoHeader ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/demo-features/stkSectionNoOpener (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionNoOpener ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/stkSection (from jcr at /modules/standard-templating-kit/templates/pages/stkSection )Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/demo-features/stkSectionNoHeader (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionNoHeader ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment 

template: standard-templating-kit:pages/demo-features/stkSectionNoExtras (from jcr at /modules/standard-templating-kit/templates/pages/demo-features/stkSectionNoExtras ) Source data processing problem Property [label] not found in class [info.magnolia.rendering.template.configured.ConfiguredComponentAvailability], property is not assigned /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment

Suggested solution

It should be sufficient to remove the property from the stkSection template.

  • Conditional MVH(T) for /modules/standard-templating-kit/templates/pages/stkSection/areas/main/areas/opener/availableComponents/externalFragment@label
  • Remove property from bootstrap file

Generated at Mon Feb 12 10:57:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.