Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3784

Suffix strip broken when deleting channel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Epic Link:
    • Sprint:
      Tiger Sprint 137
    • Processed by team:
      Tiger

      Description

      I cannot delete channel "Tobi" but I can delete channel "Canh".

      The cause of this unexpected behavior is that we're using StringUtils.stripEnd(channelName, "-preview"), which considers the "-preview" string a collection of characters to be stripped off the end of the channel name. Instead, we should be using StringUtils.removeEnd(channelName, "-preview").

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tjeger Tobias Jeger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: