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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

File ClassName in Database wont update - Upload from Popup


Go to End


2 Posts   1262 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.