Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-1088

Example Author data added with Blog feature contains a node name having a space

    XMLWordPrintable

Details

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

    Description

      If you create a project using hippo-project-archetype:12.0.0, and if you add "Blog" feature in /essentials/, it creates some example Author documents and blog article documents.
      One of author document's node name is "Hippo Author" [1] as same as its full name. This is not following the best practice of using no space and using only lower cases joined by hyphens.
      The reason why the best practice should be kept is because a node name with a space could make unexpected problems. For example, #getName() and #getPath() returns a string with a space in the way humans read, but if you use the path in query for instance such as #getNode(path), etc., that wouldn't work because it's not encoded properly.
      For this reason, it is a best practice always to use lower cases joined by hyphens as we do in CMS UI for documents all the time.
      Please correct the node names.

      [1] https://code.onehippo.org/cms-community/hippo-essentials/blob/master/plugins/blog/src/main/resources/xml/samples/author_1.xml#L18

      Attachments

        Issue Links

          Activity

            People

              clientserviceteam Client Service Team
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: