[Solved] Changed port type to peering, no change visible in web UI

====================================

Component Version
LibreNMS 1.40
DB Schema 251
PHP 7.2.5-1+ubuntu16.04.1+deb.sury.org+1
MySQL 10.0.34-MariaDB
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

====================================

Changed port ifalias in LibreNMS from “Transit:Telia INET” to “Peering:Telia INET”, but when I look under menu Ports -> Peering it does not seem to appear there. It still stays under Ports ->Transit.
Forced rediscovery, nothing changed it still won’t appear under Peering. Despite the fact that event log confirms that change:

2018-06-22 23:25:07 eth0.4 type: transit -> peering
2018-06-22 23:25:06 eth0.1 type: transit -> peering
2018-06-22 23:23:54 eth0.4 eth0.4 Port ifAlias set manually: Peering:Telia IPTV
2018-06-22 23:23:51 eth0.1 eth0.1 Port ifAlias set manually: Peering:Telia INET

Works fine for all other port types, but not for Peering type, is it a bug in LibreNMS or in my understanding how it actually should work?

And now it seems to flood the event log, with:

2018-06-23 11:00:06 eth0.4 type: transit -> peering
2018-06-23 11:00:05 eth0.1 type: transit -> peering
2018-06-23 10:55:07 eth0.4 type: transit -> peering
2018-06-23 10:55:06 eth0.1 type: transit -> peering
2018-06-23 10:50:06 eth0.4 type: transit -> peering
2018-06-23 10:50:06 eth0.1 type: transit -> peering
2018-06-23 10:45:06 eth0.4 type: transit -> peering
2018-06-23 10:45:05 eth0.1 type: transit -> peering
2018-06-23 10:40:09 eth0.4 type: transit -> peering
2018-06-23 10:40:07 eth0.1 type: transit -> peering

Still nothing under Ports/Peering…

Digged into SQL and seems like change in WebUI is not reflected in SQL ports table, port_descr_type keeps the old value.

OK, obviously it was bug in my understanding, should have removed port description completely, then it will repoll device default and only after that add new custom description.