https://bz.apache.org/bugzilla/show_bug.cgi?id=57501

Massimo Manghi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #16 from Massimo Manghi <[email protected]> ---
Forget about my comment. I misinterpreted the code. I don't even know how I did
it, not very accurate but I checked rather carelessly.

 ::rivet::abort_page with AfterEveryScript fires the execution of AbortScript.
Sorry for confusing it and sorry for getting you on the wrong track. 

I generally refer to abort_page as a way to generate exceptions because it's
the closer analogy I have in mind. It's not exactly like in Java or C++, but
the logic behind it is quite similar, you stop the execution and jump to where
the a condition can be caught. And abort_page accepts an argument for driving
the response of AbortScript. But to add more confusion to the
issue...well...yes, abort_page returns a TCL_ERROR code with a reserved error
code that triggers the execution of an AbortScript if exists. This is the way
the mechanism was designed.

The bottom line is: we need also to check if an ErrorScript must be run. Your
error is caused by something that failed in the AfterEveryScript. Perhaps the
error message could be also improved

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to