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

GitHub noreply at github.com
Sun Sep 27 23:07:47 UTC 2015


  Branch: refs/heads/ZNTA-639-viewexpiredexceptions
  Home:   https://github.com/zanata/zanata-server
  Commit: d0cc167d805450774bb8ceb1f81c50bb49553c50
      https://github.com/zanata/zanata-server/commit/d0cc167d805450774bb8ceb1f81c50bb49553c50
  Author: Carlos A. Munoz <camunoz at redhat.com>
  Date:   2015-09-28 (Mon, 28 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