Skip to Content
Menu
This question has been flagged
178 Views

here web.assets stored in ir_attachment model. in my system i implement amazon s3 bucket for store external files in amazon. so when i store a file its store a url in ir_attachemnt not file because its stored in amazon s3 bucket so it will provide a link and the link will store in ir_attachment. and i implement a logic that whatever insert in ir_attachment it will forcely type set as url and the web.assets store url in ir_attachment and this expect binary but found url thats why my assets broken and white screen show. so when white screen show i uninstall the module where ir_attachment forcely type url set function in here. so i need to uninstall this module by db query and need to delete the web.assets stored in ir_attachment only which type is url. then my white screen resolved. so how can I fix this because i need the s3 url also in my system to store file in here and if i set the type as binary and store the url in url field then the problem  i can not preview the file. so i need to type set as url so how can I resolve this issue anyone have any idea about that for this white screen issue when web.assets find type url for ir_attachment. 

Avatar
Discard