[mashup-dev] [jira] Closed: (MASHUP-18) File Host object
deleteFile() method has no effect.
Jonathan Marsh (JIRA)
jira at wso2.org
Wed Jun 6 13:40:15 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-18?page=all ]
Jonathan Marsh closed MASHUP-18.
--------------------------------
Resolution: Fixed
Seems to work fine now:
function deleteFile4(payload) {
file = new File("test4.xml");
file.openForWriting();
file.write("<s>this is a test</s>");
file.close();
file.openForReading();
value = file.readAll();
file.close();
print(file.deleteFile());
return <return>{value}</return>;
}
> File Host object deleteFile() method has no effect.
> ---------------------------------------------------
>
> Key: MASHUP-18
> URL: http://www.wso2.org/jira/browse/MASHUP-18
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Environment: Private build 4/30, Windows Vista
> Reporter: Jonathan Marsh
> Assigned To: Thilina Gunarathne
> Fix For: alpha_1
>
> Attachments: storexml.js
>
>
> Attached mashup includes a remove operation that calls deleteFile(), with no effect (the file remains unchanged in the file system.)
--
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