[Koha-bugs] [Bug 8798] Add the use of DBIx::Class

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 26 21:00:11 CEST 2013


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

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19137|0                           |1
        is obsolete|                            |
  Attachment #19138|0                           |1
        is obsolete|                            |
  Attachment #19139|0                           |1
        is obsolete|                            |
  Attachment #19140|0                           |1
        is obsolete|                            |
  Attachment #19141|0                           |1
        is obsolete|                            |

--- Comment #81 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 19248
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19248&action=edit
Added base class files for all tables in koha using the
DBIx::Class::Schema::Loader Added a (very basic) test file for C4::Context

Also added dependencies in required files.
[Update]: changed dependencies fron dbic to dbix
          moved generation shell script to a perl script wtih arguments in
misc/devel
To Test:

Install patch
Make sure you can still connect to Koha
you may optionally run the test script in comment 12
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8798#c12
If you run this file you should get a DBIx dump of the borrowers table
Done!

Ammeded Dep version

Signed-off-by: wajasu <matted-34813 at mypacks.net>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

Bug 8798 - Add the use of DBIx::Class - Rename schema class updater

updateDatabase.pl is a bit too close to updatedatabase.pl in installer
and may cause some confusion. I would suggest update_dbix_class_files.pl
as a unambiguous and descriptive name for this file.

Signed-off-by: wajasu <matted-34813 at mypacks.net>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

Bug8798 Updated to remove tabs

Signed-off-by: wajasu <matted-34813 at mypacks.net>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

Bug 8798 - Add the use of DBIx::Class - Followup - Update schema files

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

Bug 8798 - Moving code to Koha::Database and adding tests

- Fixing a bug .. ping does not exist we need to use connected

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


More information about the Koha-bugs mailing list