ICEmobile
  1. ICEmobile
  2. MOBI-1169

ace:submitMonitor - Monitor not shown when MOBI components are on the page

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE 1.3.1.GA_P04
    • Fix Version/s: EE-1.3.1.GA_P05
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEfaces EE 3.3.x only

      Description

      If a page consists of ACE and MOBI components and the page uses an ace:submitMonitor, the monitor is not shown when submits occur.

      If the MOBI component is take off, the monitor is shown correctly.

        Activity

        Arran Mccullough created issue -
        Hide
        Arran Mccullough added a comment -

        Attached test case.

        Steps:

        • Load welcomeICEfaces.jsf
        • Click on the items in the ace:list. Each item should show the monitor but it isn't shown.
        Show
        Arran Mccullough added a comment - Attached test case. Steps: Load welcomeICEfaces.jsf Click on the items in the ace:list. Each item should show the monitor but it isn't shown.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case14030Example.zip [ 22454 ]
        Attachment Case14030ExampleWAR.zip [ 22455 ]
        Arran Mccullough made changes -
        Description If a page consists of ACE and MOBI components and the page uses an ace:submitMonitor, the monitor is not shown when submits occur.

        If the MOBI component is take off, the monitor is shown correctly.

        The following WARNING messages are seen in the logs as well when doing a submit:

        16-Feb-2017 09:04:13.354 WARNING [http-nio-8084-exec-15] null.null Missing end-element for: #document (path: #document)
        16-Feb-2017 09:04:17.594 WARNING [http-nio-8084-exec-9] org.icefaces.impl.context.DOMResponseWriter.logUnclosedNode Missing end-element for: #document (path: #document)
        If a page consists of ACE and MOBI components and the page uses an ace:submitMonitor, the monitor is not shown when submits occur.

        If the MOBI component is take off, the monitor is shown correctly.

        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P05 [ 13082 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ]
        Hide
        Mircea Toma added a comment -

        Modified component.js to replace jsf.ajax.request function instead of ice.submitFunction when overriding the submit to avoid replacing the chain of submit functions setup by ICEfaces and ACE components.

        Show
        Mircea Toma added a comment - Modified component.js to replace jsf.ajax.request function instead of ice.submitFunction when overriding the submit to avoid replacing the chain of submit functions setup by ICEfaces and ACE components.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Arran Mccullough added a comment -

        I've tested the changes with the sample app and I don't see the submitMonitor with mobi components on the page still.

        Show
        Arran Mccullough added a comment - I've tested the changes with the sample app and I don't see the submitMonitor with mobi components on the page still.
        Arran Mccullough made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Mircea Toma added a comment -

        The file I modified is icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js. Did you update and rebuild icemobile? Or should I have modified another version of the Mobi components code?

        Show
        Mircea Toma added a comment - The file I modified is icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js . Did you update and rebuild icemobile? Or should I have modified another version of the Mobi components code?
        Ken Fyten made changes -
        Project ICEfaces [ 10021 ] ICEmobile [ 10060 ]
        Key ICE-11237 MOBI-1169
        Affects Version/s EE 1.3.1.GA_P04 [ 12970 ]
        Affects Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Assignee Priority P1 [ 10010 ]
        Fix Version/s EE-1.3.1.GA_P05 [ 13084 ]
        Fix Version/s EE-3.3.0.GA_P05 [ 13082 ]
        Component/s Faces [ 10062 ]
        Component/s ACE-Components [ 10050 ]
        Component/s MOBI-Components [ 10270 ]
        Hide
        Ken Fyten added a comment -

        Some confusion as the customer didn't realize they needed the patched icemobile-ee.jar as well as the icefaces-ee.jar.

        Marking this resolved.

        Show
        Ken Fyten added a comment - Some confusion as the customer didn't realize they needed the patched icemobile-ee.jar as well as the icefaces-ee.jar. Marking this resolved.
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: