ICEfaces
  1. ICEfaces
  2. ICE-9595

Test for existing Bridge Forms before creating transient forms

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      n/a

      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

          Activity

          Hide
          Mircea Toma added a comment -

          Issue solved by ICE-8790 fixes.

          Show
          Mircea Toma added a comment - Issue solved by ICE-8790 fixes.
          Hide
          Jeremy Cook added a comment -

          I get this problem "out of the box" running the ice mobile "helloWorld" example by following the tutorial here: http://www.icesoft.org/wiki/display/icemobile/JSF+Quick+Start+Tutorial

          Apache Tomcat 7.0.52 Server

          I cannot see that I have included icefaces.jar twice (I in anycase did nothing outside of the tutorial to cause that)

          Show
          Jeremy Cook added a comment - I get this problem "out of the box" running the ice mobile "helloWorld" example by following the tutorial here: http://www.icesoft.org/wiki/display/icemobile/JSF+Quick+Start+Tutorial Apache Tomcat 7.0.52 Server I cannot see that I have included icefaces.jar twice (I in anycase did nothing outside of the tutorial to cause that)
          Hide
          Philip Breau added a comment -

          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.

          Show
          Philip Breau added a comment - 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.

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Philip Breau
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: