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

HippoFolderBean.getLocalizedName() returns JCR node name

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.05.00
    • Backlog
    • None
    • None
    • CMS 2.16.00

    Description

      The method getLocalizedName() of a HippoFolderBean returns the JCR node name of the folder instead of its localized name.

      Steps to reproduce:
      1. in the CMS, create a folder "Test Folder" with URL name "test"
      2. use this folder as the relative content path for a HST component that does something like:

      public void doBeforeRender(HstRequest request, HstResponse response) {
      super.doBeforeRender(request, response);

      HippoFolderBean folder = (HippoFolderBean)getContentBean(request);
      log.debug(folder.getLocalizedName());
      }

      Expected behavior: the string "Test Folder" is logged
      Actual behavior: the string "test" is logged

      Attachments

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: