View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
273 | RackTables | default | public | 2009-12-24 17:56 | 2010-11-29 13:25 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 0.17.11 | Fixed in Version | 0.17.11 | ||
Summary | 273: updateObject() saves DB records, where it shouldn't | ||||
Description | $ophandler['object']['edit']['update'] = 'updateObject'; This bug is seen for any object, which features dictionary-referenced attributes. When some of them are left unset ("-- NOT SET --") and "save" is pressed, there are records generated for all of the SELECTs. For example, having "HW type" set to "Catalyst 4900M" and "SW type" unset, the contents of DB would be: +-----------+---------+--------------+------------+-------------+ | object_id | attr_id | string_value | uint_value | float_value | +-----------+---------+--------------+------------+-------------+ | 1 | 2 | NULL | 1018 | NULL | | 1 | 4 | NULL | 0 | NULL | +-----------+---------+--------------+------------+-------------+ These ghost records also count in "Total stickers attached" report. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-12-24 17:56 |
|
New Issue | |
2009-12-26 17:10 |
|
Status | new => closed |
2010-01-09 22:21 | infrastation | Severity | feature => minor |
2010-01-09 22:21 | infrastation | Status | closed => new |
2010-01-09 22:21 | infrastation | Category | => Database - core |
2010-01-09 22:21 | infrastation | Description Updated | |
2010-05-12 12:42 |
|
Status | new => assigned |
2010-05-12 12:42 |
|
Assigned To | => user145 |
2010-05-12 13:59 |
|
Reproducibility | N/A => always |
2010-05-12 13:59 |
|
Status | assigned => confirmed |
2010-05-12 14:11 |
|
Note Added: 0000074 | |
2010-05-12 14:12 |
|
Note Added: 0000075 | |
2010-05-12 14:12 |
|
Status | confirmed => resolved |
2010-05-12 14:12 |
|
Fixed in Version | => 0.17.11 |
2010-05-12 14:12 |
|
Resolution | open => fixed |
2010-05-12 16:25 | infrastation | Target Version | => 0.17.11 |
2010-11-29 13:25 | infrastation | Status | resolved => closed |