Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » 2.4 alpha1 compatibility?

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2
Go to End
Author Topic: 1683 Views
  • Cem
    Avatar
    Community Member
    31 Posts

    2.4 alpha1 compatibility? Link to this post

    Hi,
    Does the Image Gallery module work with 2.4 alpha?
    Or is it still early?
    Cheers

  • UncleCheese
    Avatar
    4085 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    I wouldn't count on it. But if you want to test it and post your results, it will save me a lot of time!

    As excited as I am about 2.4, I'm dreading upgrading all my code.

  • wmk
    Avatar
    Community Member
    45 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    Well, it works so far, but i cannot edit the images i uploaded (using code that worked in 2.3.3):

    SecurityID doesn't match, possible CRSF attack.

    Here is my code for "simple gallery pics"

    $manager = new FileDataObjectManager(
    $this, // Controller
    'GalleryPics', // Source name
    'GalleryPic', // Source class
    'Attachment', // File name on DataObject
    array(
    'Title' => 'Titel',
    'Description' => 'Beschreibung',
    'Copyright' => 'Copyright / Quelle'
    ), // Headings
    'getCMSFields_forPopup' // Detail fields (function name or FieldSet object)
    // Filter clause
    // Sort clause
    // Join clause
    );

    Images are uploaded but i cannot edit title, description etc.

    I run 2.4.0alpha1 (the tar.gz) and DOM r330.

    Hope this helps ;)

    WMK

  • UncleCheese
    Avatar
    4085 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    Yeah, this is going to be the biggest hurdle. I've been working on this one for weeks. Have a call with Ingo next week to see if he can point me in the right direction. I've tracked it down to some logic in the loadDataFrom() method in the Form class that seems erroneous to me, but we'll see.

  • Miles
    Avatar
    Community Member
    14 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    I'm running into this same issue on the events calendar as well. Have you been able to make any progress with it UncleCheese?

  • UncleCheese
    Avatar
    4085 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    I have a call scheduled with Ingo this week. I hope to get a patch in very soon.

  • UncleCheese
    Avatar
    4085 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    UPDATE: I've spoken with Ingo, and he has confirmed the bug, going all the way down to the ViewableData class. He's going to do some unit tests and put in a patch soon. I'll post the ticket once it's in the system.

    Thanks for you patience, everyone! For once, this is a bug I can blame on someone other than myself!

  • Miles
    Avatar
    Community Member
    14 Posts

    Re: 2.4 alpha1 compatibility? Link to this post

    Thank you for your very hard work on this!

    1683 Views
Page: 1 2
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.