http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7593 --- Comment #52 from mathieu saby <mathieu.saby@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] : '.@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.