Anonymous | Login | 2022-06-26 01:48 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000176 | OMNeT++ | IDE / INI editor | public | 2010-06-24 11:23 | 2011-03-01 15:13 | ||||
Reporter | andras | ||||||||
Assigned To | tomi | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.1 | ||||||||
Target Version | 4.2 | Fixed in Version | 4.2b2 | ||||||
Summary | 0000176: Obsolete error markers on ini files | ||||||||
Description | The editor only validates ini files while they are open. When you close the editor, the error markers will stay on the ini file (and are visible in the Problems view, and also in Project Explorer as small overlay icons on the files). This may result in obsolete error markers, if the errors "go away" while the ini editor is closed. | ||||||||
Steps To Reproduce | 1. Create an ini file with this content in the Inifile Editor: [General] network = Foo <-- "Error: network Foo not found" 2. Close the editor 3. Create a NED file with a network "Foo" 4. Ini file error will stay (see Problems view) Or: 1. Create an ini file with this content in the Inifile Editor: [General] sim-time-limmmmit = 60s <-- typo results in "Invalikd config option" error 2. Close the editor 3. Fix the file outside the IDE (e.g. using vi) 4. Error still stays (even if you refresh the project in the IDE) Ini file needs to be opened for the error to go away. | ||||||||
Additional Information | Proposed solution: option 1: closed ini files should not have error markers (remove error markers when the editor closes) option 2: validate ini files in the background (performance impact!) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000402) tomi (developer) 2011-03-01 15:13 |
option 1 implemented: Markers are removed when the ini file has been closed. Included ini files may have multiple markers for the same error, their message refers to the main ini file that was parsed/analyzed. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-06-24 11:23 | andras | New Issue | |
2010-06-24 11:27 | andras | Additional Information Updated | |
2010-06-24 13:52 | andras | Target Version | => 4.2 |
2011-02-28 10:44 | tomi | Assigned To | => tomi |
2011-03-01 15:13 | tomi | Note Added: 0000402 | |
2011-03-01 15:13 | tomi | Status | new => resolved |
2011-03-01 15:13 | tomi | Fixed in Version | => 4.2b2 |
2011-03-01 15:13 | tomi | Resolution | open => fixed |
Copyright © 2000 - 2022 MantisBT Team |