ICEfaces
  1. ICEfaces
  2. ICE-8510

ViewState element is not added to updated form

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0, EE-3.0.0.GA, 3.1
    • Fix Version/s: EE-3.0.0.GA_P01, 3.2
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      While testing the chat-portlet example, I noticed that chat would work only intermittently. The problem looks to be related to how the ViewState element of certain forms is applied/updated/removed. Further testing reveals that it's not specific to portlets. The chat sample that the chat-portlet is based on shows the same issue.

      To replicate:

      1) Build and deploy the core/chat app to Tomcat
      2) Open 1 browser instance (e.g. Firefox) and navigate to the chat application (e.g. http://localhost:8080/chat/ )
      3) Enter a handle and login to the chat
      4) Open a second browser instance (e.g. Chrome) and navigate to the chat application
      5) Enter a handle and login to the chat. At this point, the chat log should show in both browsers that the 2nd user has joined the chat.
      6) Return to the first browser, enter a chat message, and click send. The message never gets sent and the chat log does not show any updates.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30639 Wed Aug 29 17:46:52 MDT 2012 mircea.toma ICE-8510 Invoke onBeforeSubmit, onBeforeUpdate and onAfterUpdate callbacks even when updates are retrieved due to push notifications or polling.
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30638 Wed Aug 29 17:44:50 MDT 2012 mircea.toma ICE-8510 Invoke onBeforeSubmit, onBeforeUpdate and onAfterUpdate callbacks event when updates are retrieved due to push notifications or polling.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: