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

--- Comment #52 from mathieu saby <[email protected]> ---
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] : '.@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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to