Opened 6 days ago
Last modified 5 days ago
#447 new defect
history_comment get -field_name loses its fields when another control argument follows
| Reported by: | Eric Swenson | Owned by: | Eric Swenson |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Administration | Version: | |
| Keywords: | Cc: |
Description
In hcom.pl1 (bound_pnotice_), check_arg$field_name begins with d.field_array (*), k = 0;, which runs every time the procedure is called, not only for -field_name/-fn. For the get operation, every control argument other than -original is tried with check_arg$field_name before check_arg$validate. So:
- hcom get PATH -fn cdt -vdt ROUTINE clears the list of fields chosen by -fn, but the "fields selected" bits in d.ag.output stay set. The default (all fields) is therefore not chosen, and get prints nothing.
- hcom get PATH -fn cdt -fn cpi prints only the change person id: the second -fn clears the first one's field. The comment at that code says "multiple -fn controls add to existing names".
Expected: the fields given with -fn, in the order given, whatever other control arguments follow, and all the fields from each -fn that is given.
Note:
See TracTickets
for help on using tickets.

https://s3.amazonaws.com/eswenson-multics/public/mcrs/MCR10225.pdf