| Anonymous | Login | 2025-10-26 02:36 UTC | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000083 | Soldat Dedicated Server | Scripting Core | public | 2011-10-07 11:04 | 2012-08-25 11:24 | ||||
| Reporter | tk | ||||||||
| Assigned To | Falcon | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | x86 | OS | Windows | OS Version | 7 | ||||
| Product Version | 2.7.0 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000083: StrToInt() doesn't throw an exception | ||||||||
| Description | StrToInt() 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 Reproduce | procedure ActivateServer(); begin StrToInt('asd'); end; | ||||||||
| Tags | No tags attached. | ||||||||
| John | |||||||||
| Attached Files | |||||||||
Notes |
|
|
(0001197) Falcon (administrator) 2011-10-07 18:32 |
From my experience i can add that this bug occurs only on windows servers |
|
(0001518) Falcon (administrator) 2012-05-24 18: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 11: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 11:04 | tk | New Issue | |
| 2011-10-07 18:32 | Falcon | Note Added: 0001197 | |
| 2012-02-29 19:14 | Falcon | Assigned To | => Falcon |
| 2012-02-29 19:14 | Falcon | Status | new => assigned |
| 2012-05-24 18:45 | Falcon | Note Added: 0001518 | |
| 2012-05-24 18:45 | Falcon | Assigned To | Falcon => |
| 2012-05-24 18:45 | Falcon | Status | assigned => confirmed |
| 2012-05-24 18:50 | Falcon | Relationship added | related to 0000015 |
| 2012-08-25 11:24 | Falcon | Note Added: 0001579 | |
| 2012-08-25 11:24 | Falcon | Status | confirmed => resolved |
| 2012-08-25 11:24 | Falcon | Resolution | open => fixed |
| 2012-08-25 11:24 | Falcon | Assigned To | => Falcon |
| Copyright © 2000 - 2025 MantisBT Team |