Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

File ClassName in Database wont update - Upload from Popup


Reply


2 Posts   930 Views

Avatar
nakashu

Community Member, 24 Posts

18 August 2010 at 3:08am

Ok again got this problem as last time / but in different situation ...

ClassName in the database will say 'File' for all uploaded files, including images.
This only happens when I upload the Image / File .. in the PopUp window ..
Tried it with ImageField, SimpleImageField, FileIFrameField, FileField .. .

-- when used directly in the CMS, the image gets uploaded correctly with ClassName as Image.

SilverStripe 2.4.1 / DOM - latest / SWFUpload - latest

thanks for help.

Avatar
nakashu

Community Member, 24 Posts

18 August 2010 at 8:09am

Error Found .. ---

Was using
Resource => File
instead
Resource => Image

in my has_one .. relation..

Thanks.