[ http://issues.apache.org/struts/browse/SHALE-45?page=all ]

Craig McClanahan moved STR-2479 to SHALE-45:
--------------------------------------------

      Project: Shale  (was: Struts Action 1)
          Key: SHALE-45  (was: STR-2479)
    Component:     (was: Shale)
      Version:     (was: Unknown)
    Assign To:     (was: Struts Developer Mailing List)

> endElement method in ResponseWrapper closes writer.
> ---------------------------------------------------
>
>          Key: SHALE-45
>          URL: http://issues.apache.org/struts/browse/SHALE-45
>      Project: Shale
>         Type: Bug

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Shane Bryzak
>     Priority: Minor

>
> [Shale] The endElement method in org.apache.shale.remote.ResponseWrapper 
> closes
> the writer, preventing further use of the ResponseWrapper.  The endElement
> method should be calling close(), rather than writer.close(), patch follows.
> Index: ResponseWrapper.java
> > ===================================================================
> --- ResponseWrapper.java    (revision 177960)
> +++ ResponseWrapper.java    (working copy)
> @@ -259,7 +259,7 @@
>          if (open) {
>              writer.write("/");
> -            writer.close();
> +            close();
>          } else {
>              writer.write("</");
>              writer.write(name);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to