[Koha-bugs] [Bug 25513] acquisitions_orders.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 22 14:45:07 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25513

--- Comment #19 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Additional notes:
1. This may break Jessie, so we should have a patch for stables that will "fix"
the tests by adding specific value to the order we create
2. There is a "format" parameter in the API spec, but we don't use it
https://swagger.io/docs/specification/data-models/data-types/
Maybe we should.

Another fix would be to extend the test in that area (TO_JSON) and add 
_float_column_type. We could then use Math::BigFloat:
  use Math::BigFloat;
  my $x = Math::BigFloat->new(10177559957753600000);
  my $y = Math::BigFloat->new(1.01775599577536e+19);
  say $x;say $y;
will display twice 10177559957753600000

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


More information about the Koha-bugs mailing list