[mashup-dev] [jira] Updated: (MASHUP-53) File Object appends rather than rewrites

Jonathan Marsh (JIRA) jira at wso2.org
Mon Jun 4 08:33:02 PDT 2007


     [ http://www.wso2.org/jira/browse/MASHUP-53?page=all ]

Jonathan Marsh updated MASHUP-53:
---------------------------------

    Fix Version/s: alpha_1

> File Object appends rather than rewrites
> ----------------------------------------
>
>                 Key: MASHUP-53
>                 URL: http://www.wso2.org/jira/browse/MASHUP-53
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>         Environment: Nightly-buidl 5/29; Vista
>            Reporter: Jonathan Marsh
>         Assigned To: Thilina Gunarathne
>             Fix For: alpha_1
>
>
>         var file = new File(storepath + name + ".xml"); 
>         if (!file.exists)
>             file.createFile();
>         file.write(value.toXMLString());
>         file.finishWriting();
> First call works fine, subsequent calls append data to the existing file rather than overwriting it.
> This is a new bug in this (or recent) build(s).

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

        




More information about the Mashup-dev mailing list