View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002043SphereServerexecutable - windows buildpublic28-09-11 18:3504-03-13 01:29
ReporterShaklaban 
Assigned ToBen 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version20-09-2009, 0.56b Prerelease 
Target VersionFixed in Version0.56c Nightly 
Summary0002043: for loops last loop executed two times
Descriptionif the .scp file under 2 sub folder, for loops last condition executes for two times

Steps To Reproduce[function for_test]
for 1 6
    sysmessage <eval <local._for>>
endfor

normal output:

1
2
3
4
5
6

if you use that script under 2 subfolder of scripts folder output is:

1
2
3
4
5
6
7
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number1496
Attached Files

- Relationships

-  Notes
(0001272)
Shaklaban (developer)
28-09-11 18:36

oops i can't edit my report, second output is:

1
2
3
4
5
6
6
(0001273)
babidi (reporter)
29-09-11 21:32

i tryed in
scripts\aaa.scp
scripts\fold1\aaa.scp
scripts\fold1\fold2\aaa.scp

unable to replicate
(0001442)
Ben (manager)
03-12-12 02:04

Found the issue. It has nothing to do with nested folders.
You must have atleat 1 return(enter key) after the ENDFOR of the script and the problem is solved.
I'll see what I can do but this might just have to go in the "be carefull not to do" list :)
(0001494)
Ben (manager)
04-03-13 01:29

Fixed in build 1573

- Issue History
Date Modified Username Field Change
28-09-11 18:35 Shaklaban New Issue
28-09-11 18:36 Shaklaban Note Added: 0001272
29-09-11 21:32 babidi Note Added: 0001273
03-12-12 02:04 Ben Note Added: 0001442
03-12-12 02:04 Ben Assigned To => Ben
03-12-12 02:04 Ben Status new => confirmed
04-03-13 01:29 Ben Note Added: 0001494
04-03-13 01:29 Ben Status confirmed => resolved
04-03-13 01:29 Ben Fixed in Version => 0.56c Nightly
04-03-13 01:29 Ben Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker