[Koha-bugs] [Bug 31110] New: Use `_should_be_fk` for ReturnClaim in TestBuilder

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 16:56:21 CEST 2022


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

            Bug ID: 31110
           Summary: Use `_should_be_fk` for ReturnClaim in TestBuilder
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 29495

In bug 29495 we added a follow-up to fix the TestBuilder test.  However, we
added the change to the wrong place; Instead of forcing undefined in the test
data and not creating a link, we should add the field lacking a proper foreign
key to the list in _should_be_fk

These are deliberately not foreign keys because they link to one of two
tables.. the original and old_ version tables.. but we do add dbix::class
relations for the link.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29495
[Bug 29495] Issue link is lost in return claims when using
'MarkLostItemsAsReturned'
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list