bugGNU recutils - Bugs: bug #62992, recsel fails to find records with...

 
 

bug #62992: recsel fails to find records with multiple values for the same field when match is not in first instance

Submitter:  None
Submitted:  Wed 31 Aug 2022 09:14:32 AM UTC
   
 
Category:  utilities Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 31 Aug 2022 09:14:32 AM UTC, original submission:  

Consider the minimal database of the attached test.rec file.

Steps to reproduce

Run the following recsel expression:

(#Window = 0 || Window = 'w1')

Expected

4 records get selected:

  • object-in-w1
  • object-in-w1-and-w2
  • object-in-w2-and-w1
  • object-in-none


Actual

only 3 records get selected.

  • object-in-w1
  • object-in-w1-and-w2
  • object-in-none


The one that is missing is object-in-w2-and-w1.

However

With the recsel expression

(Window = 'w1')

I do get the expected results:

  • object-in-w1
  • object-in-w1-and-w2
  • object-in-w2-and-w1







Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #53642:  test.rec added by None (824B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2022-08-31 None Attached File- Added test.rec, #53642

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code