Details
Description
If a user accidentally includes multiple icefaces.jar (or the icefaces.jar and icefaces-ee.jar) then the BridgeFormsSetup system event listener may be registered more than once leading to a double attempt to add the bridge forms and a resulting error. Before creating the forms, we should check that they do not already exist, and if they do, we should log a warning about multiple ICEfaces jars on the classpath.
Issue Links
- duplicates
-
ICE-8790 Duplicate icefaces.jar component already found in view
- Closed
The 'cannot add same component twice' error eg:
Cannot add the same component twice: vrfekyn1-retrieve-update
can also happen when accidentally nesting h:form components. A validation check could also check for this as well.