Uploaded image for project: 'Embedded Jopr'
  1. Embedded Jopr
  2. EMBJOPR-356

Ugly error messages caused by ViewTimeoutException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.3.2
    • Fix Version/s: None
    • Component/s: Web App/Integration
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Add the following tags to server/<profile>/admin-console.war/WEB-INF/web.xml
      <session-config>
      <session-timeout>1</session-timeout>
      </session-config>
      This eases testing by making the session timeout in 1 minute.

      First case:
      1) Start the server with ./run.sh -c default -b 0.0.0.0
      2) Access admin-console through localhost:8080
      3) Wait 1 minute.
      4) Attempt to log in.

      Second Case:
      1) Start server and access admin-console as in the first case.
      2) Log in to the admin-console
      3) Wait 1 minute.
      4) Attempt to click on one of the small blue arrows in the nav bar. (Clicking another element redirects to the login page.)

      Both of these cases will cause the error mentioned.

      Show
      Add the following tags to server/<profile>/admin-console.war/WEB-INF/web.xml <session-config> <session-timeout>1</session-timeout> </session-config> This eases testing by making the session timeout in 1 minute. First case: 1) Start the server with ./run.sh -c default -b 0.0.0.0 2) Access admin-console through localhost:8080 3) Wait 1 minute. 4) Attempt to log in. Second Case: 1) Start server and access admin-console as in the first case. 2) Log in to the admin-console 3) Wait 1 minute. 4) Attempt to click on one of the small blue arrows in the nav bar. (Clicking another element redirects to the login page.) Both of these cases will cause the error mentioned.

      Description

      Upon certain conditions, the user is presented a page with an ugly stack trace after their session times out, rather than being redirected to the login page or gracefully erroring out.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ozizka Ondrej Zizka
                  Reporter:
                  thauser Thomas Hauser
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: