#1113 Filter matching error

v1.0_(example)
closed
nobody
None
1
2013-09-24
2013-05-29
No

This concerns a possible filter related bug in version 3.31 on Win7x64 with all patches. The database in use has 361 entries.

I was attempting to use a filter to implement an archive function for obsolete entries. I placed the string :Archive: at the beginning of the Notes field in those entries that I no longer wished to see and created the following filter

1 Yes Notes does not begin with :Archive: (case sensitive)

Initially, the filter appeared to be working as expected and the 20 entries with the :Archive: string at the beginning of the Notes field were not shown. However, I noticed that in the last group (out of ten total), four of its six entries were filtered even though they did not include the :Archive: string. Looking further, I noticed that other groups also had entries filtered incorrectly. At present I do not see an obvious pattern to which entries are filtered out incorrectly.

I've implemented the filter as both session and database and with the database in both R-W and R-O modes. I still have a WinXP laptop lying around and the problem was duplicated there as well.

Discussion

  • Rony Shapiro

    Rony Shapiro - 2013-08-16

    Ticket moved from /p/passwordsafe/support-requests/369/

     
  • DrK

    DrK - 2013-08-17

    The issue was that it was incorrectly processing empty fields. In your case, if the Notes field was empty, then it automatically did not show the entry even if it would have passed filtering.

    I have passed the source fix to Rony to implement

     
  • Rony Shapiro

    Rony Shapiro - 2013-08-18
    • status: open --> pending
     
  • Rony Shapiro

    Rony Shapiro - 2013-08-18

    Fix applied, will be in next version.

    Thanks.

    Rony

     
  • DrK

    DrK - 2013-08-18

    Until released, there is workaround for your particular filter. Edit it to add another "OR" condition:

    1 Yes - "Notes" "does not begin with" ":Archive:" (case sensitive)
    2 Yes Or "Notes" "is not present"

     
  • Rony Shapiro

    Rony Shapiro - 2013-09-24
    • Status: pending --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks