[zanata/zanata-server] e0a58d: fix(ZNTA-639): handle ViewExpiredException

GitHub noreply at github.com
Sun Sep 27 05:42:16 UTC 2015


  Branch: refs/heads/ZNTA-639-viewexpiredexceptions
  Home:   https://github.com/zanata/zanata-server
  Commit: e0a58d13a359f276e1dad128ca2f56a3b2390f81
      https://github.com/zanata/zanata-server/commit/e0a58d13a359f276e1dad128ca2f56a3b2390f81
  Author: Carlos A. Munoz <camunoz at redhat.com>
  Date:   2015-09-27 (Sun, 27 Sep 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/ZanataInit.java
    A zanata-war/src/main/java/org/zanata/exception/AjaxViewExpiredExceptionHandler.java
    A zanata-war/src/main/java/org/zanata/exception/AjaxViewExpiredExceptionHandlerFactory.java
    M zanata-war/src/main/resources/messages.properties
    M zanata-war/src/main/webapp/WEB-INF/faces-config.xml
    M zanata-war/src/main/webapp/WEB-INF/pages.xml
    A zanata-war/src/main/webapp/error/viewexpiredexception.xhtml

  Log Message:
  -----------
  fix(ZNTA-639): handle ViewExpiredException

Handle these type of exceptions both in ajax and non-ajax requests.
For ajax requests, inform the user and ask them to reload.
For non-ajax requests, inform the user and offer to head back to the
original page.




More information about the zanata-commits mailing list