MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000083Soldat Dedicated ServerScripting Corepublic2011-10-07 13:042012-08-25 13:24
Reportertk 
Assigned ToFalcon 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86OSWindowsOS Version7
Product Version2.7.0 
Target VersionFixed in Version 
Summary0000083: StrToInt() doesn't throw an exception
DescriptionStrToInt() function doesn't throw an exception on invalid input string. Kind of important thing because many scripts rely on this feature using "try except" block.
Steps To Reproduceprocedure ActivateServer();
begin
  StrToInt('asd');
end;
TagsNo tags attached.
John
Attached Files

- Relationships
related to 0000015closedFalcon RoundTo() doesn't remove trailing zeros. 

-  Notes
(0001197)
Falcon (administrator)
2011-10-07 20:32

From my experience i can add that this bug occurs only on windows servers
(0001518)
Falcon (administrator)
2012-05-24 20:45

StrToInt() isn't defined by us, but by pascal script itself. Not sure what've changed that it works this way, let's hope that migration to free pascal will fix it.
(0001579)
Falcon (administrator)
2012-08-25 13:24

Turns out that default pascal script's implementation doesn't throw exception for some random reason. Overwriting it with free pascal's implementation fixed the problem.

- Issue History
Date Modified Username Field Change
2011-10-07 13:04 tk New Issue
2011-10-07 20:32 Falcon Note Added: 0001197
2012-02-29 20:14 Falcon Assigned To => Falcon
2012-02-29 20:14 Falcon Status new => assigned
2012-05-24 20:45 Falcon Note Added: 0001518
2012-05-24 20:45 Falcon Assigned To Falcon =>
2012-05-24 20:45 Falcon Status assigned => confirmed
2012-05-24 20:50 Falcon Relationship added related to 0000015
2012-08-25 13:24 Falcon Note Added: 0001579
2012-08-25 13:24 Falcon Status confirmed => resolved
2012-08-25 13:24 Falcon Resolution open => fixed
2012-08-25 13:24 Falcon Assigned To => Falcon


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker