Anonymous | Login | 2024-12-04 02:15 CST |
My View | View Issues |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000127 | Rosetta | [All Projects] Bad Coding | public | 2012-10-07 19:23 | 2012-10-08 11:29 | ||||
Reporter | delucasl | ||||||||
Assigned To | delucasl | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | All platforms | OS | Any | OS Version | Any | ||||
Product Version | Trunk | ||||||||
Fixed in Version | |||||||||
Summary | 0000127: Options that do not begin with - are silently ignored by flag file parser | ||||||||
Description | imagine a flag file that looks like this: -foo bar 5 instead of -foo -bar 5 The option -foo:bar 5 will be silently ignored. In a long flags file this can result in errors that occur silently and are extremely difficult to catch by eye. I suspect that anything without a dash is being treated as a comment. instead, we should treat anything starting with # as a comment, and reject arbitrary text. This will remove this class of typo bug at very little cost to the usability and readability of Rosetta. I'm listing this as a feature request, because it is one, basically. | ||||||||
Tags | No tags attached. | ||||||||
Application(s) Affected | all applications | ||||||||
Command Line Used | anything | ||||||||
Developer Options | Feature Request, Confirmed As Bug | ||||||||
Fixed in SVN Version | 51547 | ||||||||
Attached Files | |||||||||
Notes | |
(0000116) smlewis (Administrator) 2012-10-08 08:47 |
Joe (hajosep) hit this recently too. Adding "DIE DIE DIE DIE" to an options file has....no effect. |
(0000117) delucasl (Administrator) 2012-10-08 11:29 |
lines that don't start with '@','-' or '#' result in n EXCN_Msg_Exception being thrown |
Issue History | |||
Date Modified | Username | Field | Change |
2012-10-07 19:23 | delucasl | New Issue | |
2012-10-07 19:23 | delucasl | Status | new => assigned |
2012-10-07 19:23 | delucasl | Assigned To | => delucasl |
2012-10-08 08:47 | smlewis | Note Added: 0000116 | |
2012-10-08 11:29 | delucasl | Fixed in SVN Version | => 51547 |
2012-10-08 11:29 | delucasl | Note Added: 0000117 | |
2012-10-08 11:29 | delucasl | Status | assigned => resolved |
2012-10-08 11:29 | delucasl | Resolution | open => fixed |
Copyright © 2000 - 2012 MantisBT Group |