[Koha-bugs] [Bug 13340] New: Add a Koha::Config::SystemPreference class for handling sysprefs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 26 05:03:17 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13340

            Bug ID: 13340
           Summary: Add a Koha::Config::SystemPreference class for
                    handling sysprefs
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

It needs to:
- be OO
- implement all CRUD operations (create, read, update, delete)
- conveniently log all relevant actions using C4::Log::logaction like this:
  logaction( 'SYSTEMPREFERENCE', 'ADD'...
  logaction( 'SYSTEMPREFERENCE', 'MODIFY'...
  logaction( 'SYSTEMPREFERENCE', 'DELETE'...
- correctly use Koha::Cache

All functions should have
- mocked unit tests
- integration tests, specially thinking of long-living processes (like in
Plack).

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


More information about the Koha-bugs mailing list