View Issue Details

IDProjectCategoryView StatusLast Update
0000820bareos-coredirectorpublic2023-07-04 15:41
Reporterfrank Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000820: bconsole: (l)list command arguments limit and offset not working in every context
DescriptionThe (l)list command arguments limit and offset are not working in every context, like e.g. media, joblog, etc.
Steps To ReproduceTry to limit the result in media context like following, for example.

list media pool=Scratch limit=3 offset=5
Additional Information
*list media pool=Scratch limit=3 offset=5
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+---------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | storage |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+---------+
| 2 | E01001L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 1 | 1 | LTO | | Tape |
| 3 | E01002L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 2 | 1 | LTO | | Tape |
| 4 | E01003L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 3 | 1 | LTO | | Tape |
| 5 | E01004L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 4 | 1 | LTO | | Tape |
| 6 | E01005L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 5 | 1 | LTO | | Tape |
| 7 | E01006L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 6 | 1 | LTO | | Tape |
| 8 | E01007L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 7 | 1 | LTO | | Tape |
| 9 | E01008L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 8 | 1 | LTO | | Tape |
| 10 | E01009L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 9 | 1 | LTO | | Tape |
| 11 | E01010L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 10 | 1 | LTO | | Tape |
| 12 | E01011L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 11 | 1 | LTO | | Tape |
| 13 | E01012L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 12 | 1 | LTO | | Tape |
| 14 | E01013L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 13 | 1 | LTO | | Tape |
| 15 | E01014L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 14 | 1 | LTO | | Tape |
| 16 | E01015L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 15 | 1 | LTO | | Tape |
| 17 | E01016L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 16 | 1 | LTO | | Tape |
| 18 | E01017L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 17 | 1 | LTO | | Tape |
| 19 | E01018L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 18 | 1 | LTO | | Tape |
| 20 | E01019L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 19 | 1 | LTO | | Tape |
| 21 | E01020L4 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 20 | 1 | LTO | | Tape |
| 22 | CLN101L4 | Cleaning | 1 | 0 | 0 | 31,536,000 | 1 | 22 | 1 | | | Tape |
| 23 | CLN102L5 | Cleaning | 1 | 0 | 0 | 31,536,000 | 1 | 23 | 1 | | | Tape |
| 24 | F01030L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 30 | 1 | LTO | | Tape |
| 25 | F01031L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 31 | 1 | LTO | | Tape |
| 26 | F01032L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 32 | 1 | LTO | | Tape |
| 27 | F01033L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 33 | 1 | LTO | | Tape |
| 28 | F01034L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 34 | 1 | LTO | | Tape |
| 29 | F01035L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 35 | 1 | LTO | | Tape |
| 30 | F01036L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 36 | 1 | LTO | | Tape |
| 31 | F01037L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 37 | 1 | LTO | | Tape |
| 32 | F01038L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 38 | 1 | LTO | | Tape |
| 33 | F01039L5 | Append | 1 | 193 | 0 | 31,536,000 | 1 | 39 | 1 | LTO | | Tape |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+---------+
*
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-07-04 15:41

manager   ~0005136

Works on 22.1.0

Issue History

Date Modified Username Field Change
2017-05-10 10:54 frank New Issue
2018-04-05 18:34 joergs Status new => confirmed
2023-07-04 15:41 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-04 15:41 bruno-at-bareos Status confirmed => closed
2023-07-04 15:41 bruno-at-bareos Resolution open => fixed
2023-07-04 15:41 bruno-at-bareos Note Added: 0005136