[X] I definitively want to report a bug within deCONZ or its REST-API
Is there already an existing issue for this?
[X] I have searched the existing issues and there is none for the bug at hand
Describe the bug
When requesting the DDF bundle list sometime the file_hash is not correctly added to the file and break the JSON format
Steps to reproduce the behavior
Use a large set of bundle (360)
Do a request to get the descriptor list ;
http://localhost/api/12345/ddf/descriptors?next=129
Sometime it's on the first page, sometime it's on next pages
On the first one the file hash got outside the descriptor and an extra } got added.
I did not find any special things with the bundles.
cd11a4662f3d89118d402d863367f6c7e3607e2e7b5a96d79881903658a97e89 is the file hash of the bundle 660d780c995f77bad0face0bd539533006ce71729cc39bee5b4dfe511ff31aaa
I tried multiple times with different set of bundle, the issues happen with a short list of bundles;
For some reason renaming a file that cause the issue to "____.ddf" fix the issue. Renaming it back to the real hash create the issue again. And sometime it's just shifting the issue by one entry
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
When requesting the DDF bundle list sometime the
file_hash
is not correctly added to the file and break the JSON formatSteps to reproduce the behavior
Use a large set of bundle (360) Do a request to get the descriptor list ;
http://localhost/api/12345/ddf/descriptors?next=129
Sometime it's on the first page, sometime it's on next pagesMy set of bundles : bundles.zip
Expected behavior
Getting the data like this;
But instead I got ;
On the first one the file hash got outside the descriptor and an extra
}
got added.I did not find any special things with the bundles.
cd11a4662f3d89118d402d863367f6c7e3607e2e7b5a96d79881903658a97e89
is the file hash of the bundle660d780c995f77bad0face0bd539533006ce71729cc39bee5b4dfe511ff31aaa
I tried multiple times with different set of bundle, the issues happen with a short list of bundles;
But some time it's working;
For some reason renaming a file that cause the issue to "____.ddf" fix the issue. Renaming it back to the real hash create the issue again. And sometime it's just shifting the issue by one entry
Screenshots
No response
Environment
deCONZ Logs
No response
Additional context
No response