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.