Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2152

Give a warning when the cmslocation of a virtualhostgroup is blank

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • 2.25.01-alpha
    • 2.26.02
    • None
    • None

    Description

      When the hst:cmslocation property is set on a hst:virtualhostgroup but is left blank, the channel manager does not work anymore. In org.hippoecm.hst.core.hosting.CustomMountAndVirtualCmsHostAugmenter#augment the split of the empty string creates a NPE (cmsCustomMountHostName.split("
      .")). The icon of the CM perspective in the cms is missing, and all channels miss the configuration that is stored on the channels.

      I think adding a check for the NPE and logging a warning would be an improvement.

      Attachments

        Activity

          People

            svoortman Simon Voortman (Inactive)
            bleunis Bert Leunis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: