Timeline for How to create an EAV entity?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 2, 2015 at 16:40 | comment | added | PanPipes |
If I have an Article with an Image attribute and add additional validation to an Article _beforeSave method, so that it throws a Mage_Core_Exception . I get Array to String conversion errors from Image when editing. I believe this is because the call to setArticleData does not take into account, the image data being sent in as an array, especially when you are Editing. Is this a mistake in your code or my approach at handling additional validation? FYI My current work around involves me doing unset($articleData['image']); before setArticleData
|
|
Jun 7, 2014 at 9:24 | history | made wiki | Post Made Community Wiki by Marius♦ | ||
Jun 6, 2014 at 12:23 | history | answered | Marius♦ | CC BY-SA 3.0 |