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

[Selections] Refactor ValueListServiceImpl

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • plugins, plugins-selections
    • None

    Description

      Class org.onehippo.forge.selection.repository.valuelist.ValueListServiceImpl is responsible for populating any Selections fields shown in the Visual Editor in channel manager.

      This class ignores any registered valuelist providers, and instead it manually traverses JCR nodes and creates a Valuelist POJO. This class is not aware that we now use resourcebundles, so when reading these JCR nodes, it expects they represent a Valuelist document, not a resourcebundle. Thus it fails to populate any Selections drop down fields in Visual Editor.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mchatzidakis Minos Chatzidakis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: