Describe the bug
I created a Rack with these settings:
I have populated the front of the rack with 41 custom equipment and 1 device linked to a phpIPAM object. I notice two things that look like a bug.
Firstly, I can continue to define position 42 of the front indefinitely, with the result that multiple equipment is located at the same position. See screenshot below:
In addition, position 42 is missing if I want to fill the back with equipment or devices. See this screenshot:
I'm able to add equipment on position 42 of the back by using a MySQL Insert Into query expression.
Your Environment (please supply the following information):
- phpIPAM version: [v1.5.0]
- OS: [Ubuntu 22.04.1 LTS 64bit]
- PHP version [php 8.1.12]
- Webserver [Apache]
- Database [MariaDB 10.6.11]
Steps To Reproduce
See above
Screenshots and error logs
[Wed Dec 28 13:46:16.129654 2022] [php:warn] [pid 1320] [client 10.64.5.200:55012] PHP Warning: Undefined variable $location in /var/www/html/phpipam/app/tools/locations/single-location-map.php on line 11, referer: https://ipam.pdkg.org/tools/racks/ [Wed Dec 28 13:46:33.095095 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined variable $error in /var/www/html/phpipam/app/tools/racks/print-single-rack.php on line 238, referer: https://ipam.pdkg.org/tools/racks/ [Wed Dec 28 13:46:33.095277 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined variable $location in /var/www/html/phpipam/app/tools/locations/single-location-map.php on line 11, referer: https://ipam.pdkg.org/tools/racks/ [Wed Dec 28 13:46:37.513618 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513654 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513662 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513669 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513676 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513682 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513688 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513694 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513701 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513707 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513713 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513719 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513755 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513763 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513769 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:37.513788 2022] [php:warn] [pid 1322] [client 10.64.5.200:55015] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:52.596563 2022] [php:warn] [pid 1099] [client 10.64.5.200:55020] PHP Warning: Undefined variable $error in /var/www/html/phpipam/app/tools/racks/print-single-rack.php on line 238, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:46:52.596807 2022] [php:warn] [pid 1099] [client 10.64.5.200:55020] PHP Warning: Undefined variable $location in /var/www/html/phpipam/app/tools/locations/single-location-map.php on line 11, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418104 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418142 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418150 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418156 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418163 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418169 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418175 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418181 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418188 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418194 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418200 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418207 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418213 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418238 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418287 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418296 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:14.418305 2022] [php:warn] [pid 1101] [client 10.64.5.200:55024] PHP Warning: Undefined property: stdClass::$id in /var/www/html/phpipam/functions/classes/class.Rackspace.php on line 249, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:28.863217 2022] [php:warn] [pid 1102] [client 10.64.5.200:55025] PHP Warning: Undefined variable $error in /var/www/html/phpipam/app/tools/racks/print-single-rack.php on line 238, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:28.863421 2022] [php:warn] [pid 1102] [client 10.64.5.200:55025] PHP Warning: Undefined variable $location in /var/www/html/phpipam/app/tools/locations/single-location-map.php on line 11, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:33.793392 2022] [php:warn] [pid 1102] [client 10.64.5.200:55025] PHP Warning: Undefined variable $error in /var/www/html/phpipam/app/tools/racks/print-single-rack.php on line 238, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:33.793547 2022] [php:warn] [pid 1102] [client 10.64.5.200:55025] PHP Warning: Undefined variable $location in /var/www/html/phpipam/app/tools/locations/single-location-map.php on line 11, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:36.670665 2022] [php:warn] [pid 1102] [client 10.64.5.200:55025] PHP Warning: Undefined variable $error in /var/www/html/phpipam/app/tools/racks/print-single-rack.php on line 238, referer: https://ipam.pdkg.org/tools/racks/1/ [Wed Dec 28 13:47:36.670780 2022] [php:warn] [pid 1102] [client 10.64.5.200:55025] PHP Warning: Undefined variable $location in /var/www/html/phpipam/app/tools/locations/single-location-map.php on line 11, referer: https://ipam.pdkg.org/tools/racks/1/
bug report