Uploaded image for project: 'SiteMesh'
  1. SiteMesh
  2. MSITEMESH-51

Module conditionally bootstraps availableComponents 'externalFragment' which has unknown property 'label' causing node2bean problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1.1
    • 1.1
    • None

      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

        Acceptance criteria

              mmichel Maxime Michel
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD