photopcf / magja

Automatically exported from code.google.com/p/magja
0 stars 0 forks source link

error when set sku with digits only. save product but dont save media images #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  set sku value as  barcode (digits only, but string)
2. add media to product

What is the expected output? What do you see instead?
save products and media. cant save media product, but saves the product.

What version of the product are you using? On what operating system?
latest. mac osx

I changed line 83 ProductMedia.java
from return new Object[] { product.getSku(), props };
to return new Object[] { product.getId(), props };

problem solved ;-)

Original issue reported on code.google.com by thiagoli...@gmail.com on 20 Aug 2013 at 4:56