ICEfaces
  1. ICEfaces
  2. ICE-10790

mobi:viewManager with mobi:view does not support WindowsScoped or ViewScoped

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: EE-4.0.0.GA
    • Fix Version/s: 4.2
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      jsf2.2 mobi
    • Workaround Description:
      all beans for the mobi:view must be SessionScoped at current time.

      Description

      The current showcase example has examples which are all SessionScoped beans. By changing any of these to @WindowsScoped, if the session expires, a ViewExpiredException is also thrown and this locks up the app. Sometimes you have to restart the server. Other times, the viewManager loses styling and ability to navigate to any other examples (on small device).

      To reproduce, change any example bean for mobi to @WIndowsScoped (similar to ace component examples) and let the session expire. Then try to reload the application.

        Activity

        Hide
        Mircea Toma added a comment -

        I tried changing a few of the beans to window scope but I could not reproduce this issue. The ViewExpiredException would show up only when interacting with any of the Mobi demos after the session has expired. The exception would be then properly trapped and re-thrown as a SessionExpiredException.

        Show
        Mircea Toma added a comment - I tried changing a few of the beans to window scope but I could not reproduce this issue. The ViewExpiredException would show up only when interacting with any of the Mobi demos after the session has expired. The exception would be then properly trapped and re-thrown as a SessionExpiredException .
        Hide
        Liana Munroe added a comment -

        Tested the scenario with ICEfaces 4 trunk r 49099 using window scoped bean in the flip switch application. After session expiry there were no issues with reloading the application.

        Show
        Liana Munroe added a comment - Tested the scenario with ICEfaces 4 trunk r 49099 using window scoped bean in the flip switch application. After session expiry there were no issues with reloading the application.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: