You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/05/01 18:59:22 UTC

DO NOT REPLY [Bug 36712] - Sql task fails even when onerror=continue when sql login fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36712>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36712





------- Additional Comments From riznob@hotmail.com  2006-05-01 16:59 -------
I believe this is by design. Read the documentation carefully. It says...
"onerror  - Action to perform when statement fails: continue, stop, abort  -  
No, default "abort"

In the case of a failed login, the statement is never executed. The onerror 
attribute is meant to control what happens when the statement fails.

Perhaps you should submit an enhancement request for a new attribute 
called "onloginerror" that handles login similar to the way onerror handles sql 
statements.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org