Red Hat Bugzilla – Bug 818751
cannot deploy a bundle with config whose previous deployment didn't have any config
Last modified: 2013-09-01 06:00:24 EDT
Create two bundle distro files - the first version has no input property configurations and second version has input properties in its configuration (where the properties have required="true").
Deploy the first bundle version. Then immediately deploy the second bundle version.
The second deployment fails with this that shows in the wizard error area:
Failed to create deployment: java.lang.RuntimeException: javax.ejb.EJBException:java.lang.IllegalArgumentException: Invalid Configuration: [Required property 'name' has a null value in Configuration[id=0].] -> java.lang.IllegalArgumentException:Invalid Configuration: [Required property 'name' has a null value in Configuration[id=0].]
Created attachment 581959 [details]
first bundle version - small-v1.jar
Created attachment 581960 [details]
second bundle version - small-v2.zip
Created attachment 582186 [details]
this is the patch that I will apply to master. not committing yet since we are in the middle of producing a release
git commit to master: 184dabf
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.