You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably has to do with an int overflow but when you create a license with the maximum number of seats that the int can handle the license cannot be updated, checked out or deleted.
Reproduction steps
Create a license where the amount of seats is the maximum number that an int32 can hold (see title)
Try to update the license or delete the license
Expected behavior
The license is updated, checked out, or deleted
Screenshots
Snipe-IT Version
v7.0.4 build 14011 (g20d558785)
Operating System
Ubuntu
Web Server
Apache2
PHP Version
8.1.2-1ubuntu2.17
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
[2024-07-05 11:43:26] production.ERROR: Symfony\Component\ErrorHandler\Error\FatalError: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/snipeit/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:89
Stack trace:
#0 {main}
[2024-07-05 11:43:26] production.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) {"userId":2,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) at /var/www/html/snipeit/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:89)[stacktrace]
Additional context
No response
The text was updated successfully, but these errors were encountered:
It is because I want to add open source licenses (GPL/MIT/etc) and figured since I cannot disable the license seats entirely I just make it as high as possible. I can maybe also get away with a license with 2,147,483,646 seats I hope ;) but I figured I would report it anyway.
Debug mode
Describe the bug
Probably has to do with an int overflow but when you create a license with the maximum number of seats that the int can handle the license cannot be updated, checked out or deleted.
Reproduction steps
Expected behavior
The license is updated, checked out, or deleted
Screenshots
Snipe-IT Version
v7.0.4 build 14011 (g20d558785)
Operating System
Ubuntu
Web Server
Apache2
PHP Version
8.1.2-1ubuntu2.17
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response
The text was updated successfully, but these errors were encountered: