[Yanel-dev] [Bug 7243] New: Jelly errors are hidden (when used from usecase resource-types)

bugzilla at wyona.com bugzilla at wyona.com
Wed Aug 5 11:54:40 CEST 2009


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=7243

           Summary: Jelly errors are hidden (when used from usecase
                    resource-types)
           Product: Yanel
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: General
        AssignedTo: yanel-development at wyona.com
        ReportedBy: guillaume.deflache at wyona.com
         QAContact: yanel-development at wyona.com


For example ${resource.throwError()}(*) does lead to an error page but
${resource.throwRuntimeException()}(**) or ${resource.throwException()}(***)
does not, and does not even add anything to the logs!!! :(

This is very painful to debug some projects that rely heavily on usecases and
then Jelly templates!


Where in the resource-type class the following methods declared:
(*): public List throwError() { throw new Error("ErRoR"); }
(**): public List throwRuntimeException() { throw new
RuntimeException("RuNtImEeXcEpTiOn"); }
(***): public List throwException() { throw new RuntimeException("eXcEpTiOn");
}


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Yanel-development mailing list