View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
761 | RackTables | default | public | 2013-02-26 11:48 | 2013-03-04 18:34 |
Reporter | johnbstewart | Assigned To | adoom42 | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Centos | OS Version | 6.3 |
Product Version | 0.20.3 | ||||
Target Version | 0.20.4 | Fixed in Version | 0.20.4 | ||
Summary | 761: Removing attribute causes error when trying to delete object | ||||
Description | I am starting with fresh install, was attempting to customize the attributes for our setup. Upon removing certain attributes and then adding a new object (server), I recieve this error when trying to delete said object: Internal error: Argument '$attr_type' of value 'NULL' is invalid. (Unknown attribute type found in object #1, attribute #3) Is it not possible to remove the default attributes? | ||||
Steps To Reproduce | Go to: Configuration > Attributes > Edit Map: Remove (-) all "Applies to" entries next to FQDN Go to "Edit Attributes" tab and remove FQDN Go to: Objects > Add more > Add "Server" object type Go to "Browse" > click on newly created Server > Properties > Delete Error then listed: Internal error: Argument '$attr_type' of value 'NULL' is invalid. (Unknown attribute type found in object #1, attribute #3) | ||||
Tags | No tags attached. | ||||
You shouldn't delete the default attributes. Starting with 0.20.4, you won't be able to (at least not from the web interface). If you don't want to use a particular attribute, you can dissociate it from all object types. To restore the FQDN attribute, run this manually: INSERT INTO `Attribute` (`id`,`type`,`name`) VALUES (3,'string','FQDN'); You should do the same for any other attributes you've deleted to prevent future issues. See install.php for details. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-26 11:48 | johnbstewart | New Issue | |
2013-03-02 23:06 | adoom42 | Note Added: 0001183 | |
2013-03-02 23:06 | adoom42 | Assigned To | => adoom42 |
2013-03-02 23:06 | adoom42 | Status | new => closed |
2013-03-02 23:06 | adoom42 | Resolution | open => fixed |
2013-03-02 23:06 | adoom42 | Fixed in Version | => 0.20.4 |
2013-03-02 23:06 | adoom42 | Target Version | => 0.20.4 |
2013-03-04 18:34 | adoom42 | Relationship added | related to 771 |