[Koha-bugs] [Bug 31437] New: ModItemTransfer triggers indexing twice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 22 16:25:34 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31437

            Bug ID: 31437
           Summary: ModItemTransfer triggers indexing twice
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

After 30718 ModItemTransfer leads to two calls on index_records. I bisected it
down to 48bf9b1d91dbbc336f859ac1a83d7d25b0e6a3c1 but couldn't figure how that
change is relevant. My gut feeling is that we were somehow hidding an error and
the change to DateTime 'fixed' it. The code clearly yields to two calls to
index_records as ->transit calls ModDateLastSeen without passing the
skip_record_index flag.

I added a follow-up on bug 30718 to fix the tests and expect we make a decision
here.

This bug could be replaced by bug 25754 as this needs a final refactoring
removing it IMHO.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list