Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3714

Sessions.getCurrent() returns null during WebSocket AU

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Freshly, 8.5.0
    • Fix Version/s: 8.5.0
    • Component/s: ZK Update Engine
    • Security Level: Jimmy
    • Labels:
    • Environment:

      version: 8.5.0.FL.20170801

      <listener-class>org.zkoss.zkmax.au.websocket.WebSocketWebAppInit</listener-class>

      Description

      Steps to Reproduce

      run the attached example with WebSocketWebAppInit enabled
      -> click the first button

      Current Result

      Sessions.getCurrent() returns null

      Expected Result

      The current session as returned when pressing the 2nd button

        Attachments

          Activity

            People

            Assignee:
            wenninghsu wenninghsu
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h