View Revisions: Issue #766

Summary 0000766: Hardcoded default limit on .bvfs_lsdirs and .bvfs_lsfiles prevents webui from loading all directory content
Revision 2017-01-13 18:27 by frank
Description WebUI does not set a limit to retrieve directories and files via bvfs commands (.bvfs_lsfiles/.bvfs_lsdirs).

But a default limit of 2000 is set in the dird code, which is not documented in the BVFS API section of the Bareos Developers Manual or anywhere else.

See Bareos Source src/dird/ua_dotcmds.c line 455 and line 507.

This leads to a wrong display of directories and files in the restore tree of the webui in case of directories containing a file number or directory number greater than 2000 as obviously files and directories which should be listed are missing.
Revision 2017-01-13 18:01 by frank
Description WebUI does not set a limit to retrieve directories and files via bvfs commands (.bvfs_lsfiles/.bvfs_lsdirs).

But a default limit of 2000 is set in the dird code, which is not documented in the BVFS API section of the Bareos Developers Manual or anywhere else.

See Bareos Source src/dird/ua_dotcmds.c line 455 and line 507.

This leads to an unreliable display of directories and files in the restore tree of the webui in case of directories containing a file number or directory number greater than 2000.