View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000021 | HomeAutomation System | Modules, Embedded software | public | 2012-10-19 23:47 | 2012-10-23 19:30 |
| Reporter | Lars Englund | Assigned To | Linus Lundin | ||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Summary | 0000021: ModuleManager always selects new module ID:s based on the highest sns_power ID | ||||
| Description | See example in Steps To Reproduce. Same behaviour regardless of node being added. A similar output is shown when deleting a module. | ||||
| Steps To Reproduce | ./ModuleManager --add=sns_ds18x20 Trying to add module sns_ds18x20 Added module successfully Regenerating modules... Compiling sources.inc... Creation of sources.inc complete Compiling new main.c... Creation of main.c complete Updating config.inc... Found id: 0x1 in file: ../nodeMyFirst/config.inc for module: sns_power New module id set to: 0x2 Update of config.inc complete Regenerating modules complete | ||||
| Tags | No tags attached. | ||||
| It's not only if there are sns_power modules, this applies also if adding a sns_counter when there is a sns_ds18x20 module. Seems like this happens if the module name is "less" then the current module name in the same config. | |
|
$ cd Documents/HomeAutomation/EmbeddedSoftware/AVR/personal/ $ svn export template_module/ testBug $ cd testBug/ $ ./ModuleManager --add=sns_ds18x20 $ ./ModuleManager --add=sns_counter Output of last command: Updating config.inc... Found id: 0x1 in file: ../testBug/config.inc for module: sns_ds18x20 New module id set to: 0x2 |
|
| Bug confirmed, steps to reproduce has been provided. | |
| Fixed in svn rev 2228 | |
| Confirmed fixed. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-10-19 23:47 | Lars Englund | New Issue | |
| 2012-10-20 09:49 | Anders Sandblad | Note Added: 0000027 | |
| 2012-10-20 14:15 | Anders Sandblad | Note Added: 0000028 | |
| 2012-10-20 14:16 | Anders Sandblad | Note Added: 0000029 | |
| 2012-10-20 14:16 | Anders Sandblad | Assigned To | => Anders Sandblad |
| 2012-10-20 14:16 | Anders Sandblad | Status | new => confirmed |
| 2012-10-20 14:16 | Anders Sandblad | Assigned To | Anders Sandblad => |
| 2012-10-23 18:29 | Linus Lundin | Note Added: 0000032 | |
| 2012-10-23 18:29 | Linus Lundin | Status | confirmed => resolved |
| 2012-10-23 18:29 | Linus Lundin | Resolution | open => fixed |
| 2012-10-23 18:29 | Linus Lundin | Assigned To | => Linus Lundin |
| 2012-10-23 19:30 | Anders Sandblad | Note Added: 0000033 | |
| 2012-10-23 19:30 | Anders Sandblad | Status | resolved => closed |