[Koha-bugs] [Bug 20621] New: Add ability for Koha::Object objects to update themselves with database generated value automatically

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 19 15:27:17 CEST 2018


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

            Bug ID: 20621
           Summary: Add ability for Koha::Object objects to update
                    themselves with database generated value automatically
 Change sponsored?: ---
           Product: Koha
           Version: master
          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: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Koha objects should, on store() update themselves from the db if the database
creates any of the columns. That way we don't have to call discard_changes()
manually.

This patch has no particular use yet, but I wanted to put it here for
posterity.

-- 
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