[Koha-bugs] [Bug 7593] merging bib records loses connection to order line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 16 14:45:52 CEST 2013


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

--- Comment #52 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
I checked everything is correct by adding warns in my Acquisition.t

warn 'record number : '.$testbiblio;
   my @listorders = GetOrdersByBiblionumber($testbiblio);
   ok( @listorders ,'GetOrdersByBiblionumber : result is defined' );
   ok( scalar (@listorders) >0,'GetOrdersByBiblionumber : result contains at
least one element' );
warn 'nborders in listorders : '.scalar (@listorders);
warn 'record number in listorders[0] : '. at listorders[0]->{biblionumber};

=> everything is correct

record number : 2090 at Acquisition.t line 45.
ok 6 - GetOrdersByBiblionumber : result is defined
ok 7 - GetOrdersByBiblionumber : result contains at least one element
nborders in listorders : 1 at Acquisition.t line 49.
record number in listorders[0] : 2090 at Acquisition.t line 50.


So, as you say, the pbm must come from the test database.
Is there a way to look at its data ?

Mathieu

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


More information about the Koha-bugs mailing list