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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1585 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.