Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Enterprise Edition
-
None
Description
Cisco WLC does not store any information regarding dissasociated accesspoints, and you have an option to mark an AP as deleted in html/pages/device/wifi/accesspoints.inc.php
if($accesspoint['ap_status'] == 'down') //if device is down, offer the possibility to delete it from the DB
{
if ($_SESSION['userlevel'] > 9)
{
echo '<a class="pull-right" href="#modal-delete-ap-'.$accesspoint['wifi_ap_id'].'" data-toggle="modal" title="Delete Current Access Point"><span><i class="sprite-minus"></i></span></a>';
This works, but there seems to be two places in includes/polling/wifi.inc.php that handles the deletion of AP
Line 105-118 is OK, but line 208-230 just deletes the AP without any regard for the state of the AP being marked as deleted or not
Attached svn.diff
includes/discovery/wifi.inc.php inserts "1" to column "deleted" in table "wifi_aps, so I have made another svn.diff removing those lines, since we loose all historical data when an entity dissapears. Not sure if this is an oversight or intended. If this is intended then just close the case
Also added some log_events