Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10289

Sling Dynamic Include 3.2.0 configuration of arrays broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Dynamic Include 3.2.0
    • Dynamic Include 3.3.0
    • None
    • None

    Description

      XML config like this stopped working > 3.1.6 and will only pick up first value

      include-filter.config.resource-types="[wcm/components/content/downloadteaser,wcm/components/static/menu,wcm/components/static/menuflyout]"

      fixed this by changing the Configuration Attribute to String[]

            @AttributeDefinition(name = "Resource types",
                description = "Filter will replace components with selected resource types",
                type = AttributeType.STRING)
            String[] include$_$filter_config_resource$_$types() default {};

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              AndreasWurm Andreas Wurm
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m