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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45909 Thu Aug 27 14:43:22 MDT 2015 judy.guglielmin ICE-10625 modified backing bean to session Scope as per limitation noted in ICE-10790
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/onlineStatus/OnlineStatusBean.java
        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Assignee Priority P2 [ 10011 ]
        Fix Version/s 4.2 [ 12870 ]
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        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 .
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: