Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-20900

XSLT Portal shortDescription element is always empty in raw XML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1, 2.8.0
    • Fix Version/s: 2.8.1, 2.9.0
    • Component/s: OSP: Portal, Portal
    • Labels:
      None
    • CLE Team Issue:
      Yes

      Description

      The XSLT portal includes a shortDescription element in the site information in the raw XML it outputs. The element is always empty, though, even when there is a short description set for the site.

      The problem is that XsltRenderContext is trying to pull the shortDescription from the site map object, but the shortDescription isn't added to the site map in PortalSiteHelperImpl on the default portal side, so it is always empty.

      I'm attaching a patch that simply adds it to the map created in PortalSiteHelperImpl. Tested in 2.8.x.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ottenhoff Sam Ottenhoff
                Reporter:
                ansorgej John Ansorge
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code