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=30202>.
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=30202

No exception handling when exposing all request params using ImportAttribute

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2004-07-23 09:22 -------
Thanks, Peter. 

For those of you following along, here's the diff: 

171c171,186
<         pageContext.setAttribute(name, compContext.getAttribute(name), scope);
---
>         if(name == null ) {
>           if(!isErrorIgnored)
>             throw new JspException ( "Error - tag importAttribute :
encountered an attribute with key 'null'" );
>           else
>             return SKIP_BODY;
>         }
> 
>         Object value = compContext.getAttribute(name);
>         // Check if value exist and if we must send a runtime exception
>         if( value == null ) {
>           if(!isErrorIgnored)
>             throw new JspException ( "Error - tag importAttribute : property
'"+ name + "' has a value of 'null'" );
>           else
>             return SKIP_BODY;
>         }
>         pageContext.setAttribute(name, value, scope);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to