Uploaded image for project: 'uPortal'
  1. uPortal
  2. UP-2673

Errors in CSpringPortletAdaptor.cpd

    Details

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: