View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000527 | Ecere SDK | ide | public | 2010-08-07 15:09 | 2013-05-19 22:15 |
Reporter | jerome | Assigned To | jerome | ||
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.44 Ryoan-ji | Fixed in Version | 0.44 Ryoan-ji | ||
Summary | 0000527: Left overs in project files (Empty arrays) | ||||
Description | I have a bunch of project files that end up with 'empty' lists, e.g. "Platforms" "Platforms" : [ ], The code was supposed to get rid of the whole section when there is nothing in it. | ||||
Tags | No tags attached. | ||||
|
It seems to leave empty PlatformOptions as well, that looks like: "Configurations" : [ { "Name" : "Release", "Platforms" : [ { "Name" : "Linux", "Options" : { } } ] }, The relevant code is in ide/src/ProjectSettings.ec, void Unset() It checks options.isEmpty and delete options objects and remove the platforms/configs from the lists |
|
After an Unset, everything seemed to save fine now, including the empty Library Dirs [ ] that went away (LibraryDirs are *always* added, so an empty array is usless, it *won't take out* the libraries) Will stay alert for empty Options occurances. |
|
Just saw a LibraryDirs : [ ] going away, but leaving an empty "Options" : { } as all remaining in a "Linux" Platforms. Will try to reproduce and test. |
|
https://github.com/ecere/sdk/commit/a422ab542cf7aeff6c567df0c94239f39e70cdbd |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-08-07 15:09 | jerome | New Issue | |
2010-08-07 15:10 | jerome | Target Version | => 0.44 pre-release 2 |
2010-08-07 15:10 | jerome | Relationship added | child of 0000429 |
2010-08-07 16:45 | jerome | Summary | Left overs in project files => Left overs in project files (Empty arrays) |
2010-08-07 17:20 | jerome | Status | new => assigned |
2010-08-07 17:20 | jerome | Assigned To | => redj |
2011-10-13 20:10 | jerome | Note Added: 0000470 | |
2011-10-13 21:59 | jerome | Note Added: 0000471 | |
2011-10-13 22:10 | jerome | Note Added: 0000472 | |
2011-10-13 22:10 | jerome | Note Edited: 0000472 | |
2011-10-15 18:58 | jerome | Assigned To | redj => jerome |
2011-10-16 07:23 | jerome | Status | assigned => resolved |
2011-10-16 07:23 | jerome | Fixed in Version | => 0.44 pre-release 2 |
2011-10-16 07:23 | jerome | Resolution | open => fixed |
2011-10-16 07:23 | jerome | Note Added: 0000478 | |
2012-03-08 15:33 | redj | Target Version | old 0.44.pre2 => 0.44 Ryoan-ji |
2012-03-08 17:19 | redj | Relationship deleted | child of 0000429 |
2012-03-08 18:07 | redj | Fixed in Version | => 0.44 Ryoan-ji |
2012-03-29 07:52 | redj | Category | => ide |
2012-03-29 07:52 | redj | Project | @3@ => Ecere SDK |
2013-05-19 22:15 | jerome | Status | resolved => closed |