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
Describe the bug
When adding parts to a project in Part-DB, an error occurs after a certain number of entries. The issue manifests in the following scenarios:
Adding Parts: After a certain number of parts (tested in increments of 100 from 100 to 1000), no further parts can be added.
Editing Projects: After a certain number of parts (e.g., 200), the project can no longer be moved or edited. The error "CSRF token is invalid" occurs.
Moving Projects: When moving projects to another folder, the part names are deleted, and the error "CSRF token is invalid" occurs.
Importing Parts: When importing parts into projects with 600 or more items, an error occurs. The projects can be viewed in the project tab but cannot be edited via the edit tab.
Note: The server responds with code 422 (unprocessable content). The POST is >800kB and chunked, however nowhere near the php post_max_size limit on my instance on which I reproduced it.
When inspecting the POST body, I found that the bom_entries's IDs are messed up from item 142 onwards (6 alphanumeric chars instead of db_<number>). That's obviously causing the 422 and thus the (a little misleading) error message.
I read somewhere that certain multipart decoders have an arbitrary parameter limit of 1000, which is just hit here when adding the 142th bom entry.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When adding parts to a project in Part-DB, an error occurs after a certain number of entries. The issue manifests in the following scenarios:
To Reproduce
Problem with Edit of a Project
Edit Page is not more able to open
Expected behavior
Screenshots
Server Side
Desktop:
Additional context
PartDB config
PartDB setting.zip
The text was updated successfully, but these errors were encountered: