Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13657

Mixin Channel Info classes contains off by one bug on each save

    XMLWordPrintable

Details

    • Flagged
    • Orion
    • BrXM Backlog

    Description

      On each save, one of the configured mixin classes classes is removed:

      if (channelInfoMixinClasses.length > 1) {
                      final List<String> mixinTypeNameList =
                              Arrays.stream(channelInfoMixinClasses, 1, channelInfoMixinClasses.length)
                              .map(clazz -> clazz.getName()).collect(Collectors.toList());
                      channelNode.setProperty(HstNodeTypes.CHANNEL_PROPERTY_CHANNELINFO_MIXINS,
                              mixinTypeNameList.toArray(new String[mixinTypeNameList.size()]));
                  }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: