uPortal
  1. uPortal
  2. UP-2673

Errors in CSpringPortletAdaptor.cpd

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3, 3.2.2, 4.0.0-RC1
    • Component/s: Channel Admin
    • Labels:
      None
    • Environment:
      redhat linux

      Description

      The uportal-war/src/main/resources/org/jasig/portal/channels/portlet/CSpringPortletAdaptor.cpd has some errors in it that cause exceptions to be printed to the log when publishing channels. Specifically

      1) the "isFrameworkPortlet" type restriction is missing its "type" attribute of "enumeration"

      2) the "defaultValue" tag seems to be in the wrong place on all enumeration types...looks like it should be the last position of the enumeration. Currently the "showChrome", "alternate" and "highlight" enumerations list the defaultValue outside the restriction tag and it gets ignored. Instead someone flipped the order of the true/false values so that the one on top gets used as the default value...the way these values are listed should be consistent.

      See attached updated/fixed cpd file...all default values seem to be working correctly and no exceptions are being logged.

        Activity

        Hide
        Curtis Garman added a comment -

        This file should replace and fix the issues documented in this JIRA

        Show
        Curtis Garman added a comment - This file should replace and fix the issues documented in this JIRA

          People

          • Assignee:
            Jennifer Bourey
            Reporter:
            Curtis Garman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: