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

supported-publishing-event and supported-processing-event ordering is incorrect according to portlet-app_2_0.xsd

    XMLWordPrintableJSON

Details

    • TCK Challenge
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 3.0.0
    • TCK
    • None
    • N/A

    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

      [Exclude List Version]
      N/A

      [Test Name]
      All portlets that invoke Events based IPC.

      [Complaint (argument for why test is invalid)]

      The portlet-bridge-tck-main/src/main/webapp/portlet.xml descriptor has the following specified multiple times:

              <supported-publishing-event>
                <qname xmlns:bridge="http://myfaces.apache.org/portlet-bridge/event_ns">bridge:myfaces.apache.org.tck.testEvent</qname>
              </supported-publishing-event>
      
              <supported-processing-event>
                <qname xmlns:bridge="http://myfaces.apache.org/portlet-bridge/event_ns">bridge:myfaces.apache.org.tck.testEvent</qname>
              </supported-processing-event>
      

      But this is invalid according to the portlet-app_2_0.xsd XML Schema, and it is causing Liferay Portal to refuse to deploy the portlet.

      The fix is to swap the order of each occurrence, so that supported-processing-event appears before supported-publishing-event.

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            ngriffin7a Neil Griffin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: