Path list under devices "connections" broken in 23.03?
Closed this issue · 0 comments
pentiumoverdrive commented
In my v21 install the complete path are shown in a device under "connections".
in 23.03 it only list the device it self, but clicking on the Port it reveals the path in a diagram correctly.
web server error log reports the following:
[error] 1012#0: *454 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property "PortNumber" on null in /opt/wwwdata/dcim/openDCIM-23.03/classes/DevicePorts.class.php:360
Stack trace:
#0 /opt/wwwdata/dcim/openDCIM-23.03/devices.php(124): DevicePorts::followPathToEndPoint()
#1 {main}
thrown in /opt/wwwdata/dcim/openDCIM-23.03/classes/DevicePorts.class.php on line 360" while reading response header from upstream, client: 127.0.0.1, server: dcim, request: "GET /devices.php?DeviceID=1234&path=&ConnectedDeviceID=961&ConnectedPort=4 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "dcim", referrer: "https://dcim/devices.php?DeviceID=1234"
Also, I checked the demo site and it doesn't show the paths either: