Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » File ClassName in Database wont update - Upload from Popup

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 895 Views
  • nakashu
    Avatar
    Community Member
    24 Posts

    File ClassName in Database wont update - Upload from Popup Link to this post

    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.

  • nakashu
    Avatar
    Community Member
    24 Posts

    Re: File ClassName in Database wont update - Upload from Popup Link to this post

    Error Found .. ---

    Was using
    Resource => File
    instead
    Resource => Image

    in my has_one .. relation..

    Thanks.

    895 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.