View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000766 | bareos-core | webui | public | 2017-01-13 18:01 | 2021-09-28 17:51 |
Reporter | frank | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000766: Hardcoded default limit on .bvfs_lsdirs and .bvfs_lsfiles prevents webui from loading all directory content | ||||
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. | ||||
Additional Information | Also it is not possible to set the limit to none via e.g. .bvfs_lsdirs path=/ jobid=9000 limit=0 which one might propably expect. In addition the command helptext should mention the default limit, which it does not. *help .bvfs_lsdirs Command Description ======= =========== .bvfs_lsdirs List directories using BVFS Arguments: jobid=<jobid> path=<path> | pathid=<pathid> [limit=<limit>] [offset=<offset>] When at a prompt, entering a period cancels the command. *help .bvfs_lsfiles Command Description ======= =========== .bvfs_lsfiles List files using BVFS Arguments: jobid=<jobid> path=<path> | pathid=<pathid> [limit=<limit>] [offset=<offset>] When at a prompt, entering a period cancels the command. * | ||||
Tags | No tags attached. | ||||
related to | 0000773 | closed | Webui Restore don't show complete folder content of large folders |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-13 18:01 | frank | New Issue | |
2017-01-13 18:08 | frank | Assigned To | => frank |
2017-01-13 18:08 | frank | Status | new => confirmed |
2017-01-13 18:27 | frank | Description Updated | |
2017-03-02 17:28 | frank | Relationship added | related to 0000773 |
2021-08-30 13:25 | frank | Status | confirmed => feedback |
2021-08-30 13:25 | frank | Note Added: 0004240 | |
2021-09-28 17:51 | frank | Assigned To | frank => |
2021-09-28 17:51 | frank | Status | feedback => closed |
2021-09-28 17:51 | frank | Resolution | open => fixed |