Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Do BLOB fields work? 
 
a4345ergdfg45
Jr. Member
 
Total Posts:  24
Joined:  2008-09-09
 

Hi there!

I have just implemented some BLOB fields in the sales_order table to store some files attached to that order. In the code later on, I fill it via

$salesOrder->setData("<blobfieldname>""<base64data>");

This fills out the data attribute in the Model and I can get it via getData() right after the have set it. However, I can not make it store the BLOB content in the respective table record - even if save() is invoked.

Unfortunately, I am forced to do it that way. Storing the files on the disc directly is strictly prohibited by my client for security reasons.

Any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top