4 Replies Latest reply on Jun 21, 2008 2:57 AM by ellis2323.lmallet.oxalya.com

    RunTime Exception never gets caught by Seam in pages.xml

    infinity2heaven

      <exception class="javax.persistence.OptimisticLockException">
          <end-conversation/>
          <redirect view-id="/error.xhtml">
            <message severity="ERROR">Another user changed the same data, please try again</message>
          </redirect>
      </exception>



      When I test this use case, in the UI, instead of getting an error.xhtml page, I get the exception stack trace instead.


      In fact, I had this working just a couple of days ago and I'm wondering what change I did in the codebase, that is bypassing pages.xml redirects