Jump to:

7937 Posts in 1537 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Preview: DataObjectManager module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Go to End
Author Topic: 60265 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    I've added translation tags. Thank you, Bo_Einzeller for that! Also added the title tags per your suggestion.

  • Bo_Einzeller
    Avatar
    Community Member
    18 Posts

    Re: Preview: DataObjectManager module Link to this post

    Thanks for everything! I'm in the mountains 'til tuesday and gone check everything as soon as i'm back!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Nice catch. Give the latest version a try. Null values are now replaced with  's.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Probably oughta check out the ImageGallery module I just put up. Or are you using the ImageDataObjectManager? Just curious. I only put out the ImageDataObjectManager cause it was the backbone to the ImageGallery module.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Interesting. What kind of files are you uploading? I can add GIFs to the allowed file types.

    Do you use SSP Director? That's one of the best apps I've ever seen. Nothing SS offers will compete with that.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Yeah, the ImageDataObjectManager expects file types that qualify for image resampling (JPG and GIF). A FileDataObjectManager is more tolerant, and knows to skip all of that stuff if the file isn't an image. If the ImageDataObjectManager could take normal files (i.e. FLV), imagine imagine all the distorted Flash icons that would appear when one dragged the slider to its max.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Hmm... Would you mind posting your code?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    If I had to guess, I'd say this happens on ComplexTableFields, too. I didn't modify the method that retrieves the records for the table -- only those that change the parameters for that method (sort, page size, filter, etc).

    It's an unusual scenario, but nonetheless one that needs to be addressed. I'll try to duplicate what you have and see what I can come up with. I'm sure it has something to do with the joining of parent class to child class -- using an incorrect or ambiguous ID field or something.

    60265 Views
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.