opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
137 stars 35 forks source link

Disabled Records - Indication in UI #73

Closed justinkarabegovic closed 10 years ago

justinkarabegovic commented 10 years ago

Would it be possible to perhaps indicate that a record is disabled when listing records for a zone, etc. perhaps put a strikethrough on the content or put that list item in a greyed box instead.

mattpascoe commented 10 years ago

I'd like to narrow down exactly where you are seeing the 'disabled' record. The GUI should be showing the word Disabled next to any disabled DNS record in the record tables. Then the configuration generated by build_bind plugin should not have disabled records listed in it. Its possible I missed updating some lists. Can you describe specifically where a disabled record is not indicating it is disabled? Thanks

justinkarabegovic commented 10 years ago

Great question. Perhaps it may actually be a bug I may be seeing. I am viewing a Domain with all of the related DNS records. If I attempt to disable an A or MX Record, it does not appear to have any effect in the UI. If I attempt to do the same while viewing a Host with associated DNS records, again, nothing happens in the UI. If I subsequently open the same record to edit, the 'disable' box is not checked. This is based on ona v13.03.01

mattpascoe commented 10 years ago

This is quite strange. This feature has been there for quite some time. I'm not sure why its not working for you. When you are on a host and you see the dns record listing you should see the word disabled highlited in yellow next to any records that have had the disabled checkbox checked.... from the last part of your comment it looks to be an issue that its not saving the change so therefore its not showing in the GUI.

I'd suggest going to admin->system config and setting debug to 5.. then look at /var/log/ona.log while you check the disable box and hit save.. see if any errors show up there.

mattpascoe commented 10 years ago

I'm not able to recreate this problem. Disable works for me and shows in the GUI. If there is still an issue let us know.