Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-225

TCK assumption regarding portlet name

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • TCK Challenge
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • TCK
    • None

    Description

      [Test Challenger Name and Company]
      Neil Griffin, Liferay, Inc.

      [Specification Name(s) and Version(s)]
      Portlet 2.0 Bridge for JavaServerâ„¢ Faces 1.2

      [Test Suite Name and Version]
      portlet-bridge-tck-main, v1.0.0
      portlet-bridge-tck-section3-2-lifecycle-set, v1.0.0
      portlet-bridge-tck-section6-2-configured-response-wrapper, v1.0.0

      [Exclude List Version]
      N/A

      [Test Name]

      ALL tests in the TCK.

      [Complaint (argument for why test is invalid)]

      The JSR 329 TCK assumes that PortletConfig.getPortletName() returns the same value specified in the WEB-INF/portlet.xml portlet-name element. This is true for Pluto, but not for Liferay Portal.

      For example, if the portlet-name is "chapter5_2Tests-isPostbackTest-portlet", then Liferay Portal will return "chapter5_2TestsisPostbackTestportlet". This causes all TCK tests to fail when running under Liferay Portal.

      I'm filing this as a TCK Challenge because the Portlet API JavaDocs for PortletConfig.getPortletName()\http://portals.apache.org/pluto/portlet-2.0-apidocs/javax/portlet/PortletConfig.html#getPortletName() do not require that PortletConfig.getPortletName() be the same value specified in the portlet-name element.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mike_freedman Michael Freedman
            asfgriff Neil Griffin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment