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

Suffix strip broken when deleting channel

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: