magja/magja — Issue #19: 19 - setWebsites Method in Product class is broken 
Author: ceefour
Created: 2011-11-02 11:32:57+00:00
State: open

If you try to assign a Product to Main Website (ID: 1) on Magento
installation with multiple Store Views this method dont work:

product.setWebsites(new Integer[]{1})

seams to be broken, instead this works:

product.set("websites", new String[]{"1"})

Something wrong with mapping from Integer / Integer Arrays?

Original link: http://code.google.com/p/magja/issues/detail?id=19