When request a Product Data Status for a EAN with a leading 0 (zero) the current code will convert this to numeric representation an remove the leading zero, which cause a 404 response because a unknown or invalid EAN is checked.
Here is a fix. Would be happy to see it in it wild.
Coverage remained the same at 93.263% when pulling 30048ba168906f662af7aa48c49219fbd5265034 on jtl-software:ean_as_string into 53bc69b36b1868c36c51d8c46a0335bbb2830fa8 on hitmeister:develop.
When request a Product Data Status for a EAN with a leading 0 (zero) the current code will convert this to numeric representation an remove the leading zero, which cause a 404 response because a unknown or invalid EAN is checked.
Here is a fix. Would be happy to see it in it wild.
Thanks ;)