This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 190717 - eventing storyboard complains of invalid portlet.xml
Summary: eventing storyboard complains of invalid portlet.xml
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Satyaranjan D
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 21:51 UTC by mdeggersbeans
Modified: 2010-10-01 21:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mdeggersbeans 2010-10-01 21:51:31 UTC
OS:          Fedora 13 Linux 2.6.34.7-56.fc13.i686
JDK:         1.6.0_21 (32 bit)
IDE:         6.9.1
Portal Pack: 3.0.4

I have a portlet.xml file generated from a Maven archetype that I've developed. This portlet.xml file is valid according to portlet-app_2_0.xsd.

In this portlet.xml file, I've added some init-param elements after portlet-class and before expiration-cache.

While the eventing storyboard works (appropriate elements are generated in portlet.xml), it throws an "Invalid portlet.xml" error upon adding the publishing event (have not tried the subscribing event). This also somewhat corrupts the display.

This problem seems to follow along with my bug report for the open portlet container, which does not seem to recognize the init-param element.

As an added issue, commenting out the init-param with <!-- --> does not solve the problem.

The only workaround is to remove the init-param elements and add them after using the eventing storyboard (or to not use the eventing storyboard).