 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
File.delete doesn't? |
|
Either I've done something stupid or there's a bug with the JavaScript File.delete command. This job:
 |
 |
File.save("xxx.txt","yy");
File.delete("xxx.txt");
|
Tells me:
 |
 |
An error occurred while executing automation script: Line 3: missing name after . operator |
Multi-platform 4.1.255
(I'll use a shell delete in the meantime...)
|
|
Sun Apr 13, 2008 8:39 pm |
|
 |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
Bump… note this bug is still present in 4.2 278
|
|
Mon Jul 27, 2009 6:08 pm |
|
 |
devinshteyn
Joined: 28 Jul 2009 Posts: 3 Country: United States |
|
|
|
Sorry, this is still on our list of known bugs. We should take care of this soon.
|
|
Tue Jul 28, 2009 11:59 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
I want to confirm that this is going to be fixed in the next maintenance release 4.3, which is expected soon.
|
|
Wed Jul 29, 2009 9:49 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
"File.delete" in v4.3 is replaced with "File.remove" The entire issue in pre 4.3 versions was caused by the name conflict, I mean "delete" method name conflicting with JavaScript "delete" keyword.
|
|
Wed Oct 07, 2009 10:46 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|