Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Maintaining DOM

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: 541 Views
  • micahsheets
    Avatar
    Community Member
    164 Posts

    Maintaining DOM Link to this post

    Uncle Cheese,

    I was wondering if you wanted to pass the maintaining of DOM to some of the community. I have seen many bugs creeping into it as SS changes (not that your code is buggy but as SS changed not everything has been completely updated yet). There are numerous posts regarding different common problems and many of us are implementing fixes on our own sites. I now have to keep my own distribution that has many of the fixes in it as the versions available via Git are no longer useable. I would be happy to do what I can to put my own fixes in as I make and test them.

    One such update that should be made to trunk is in this post http://www.silverstripe.org/dataobjectmanager-module-forum/show/15732 by aleks. I have been making this change myself for a while now.

    Another one is the Folder creation problems people have been having. This is the post where I submitted what is my work in progress fix that is actually working pretty good. http://www.silverstripe.org/dataobjectmanager-module-forum/show/15155#post305877

    I have also noticed that FileDataObjectManager creates the Assets folder inside the existing Assets folder if the $GalleryImageManager->setUploadFolder($uploadfolder) function is used to set the upload folder instead of the dropdown. I am sure many of us would like to see our fixes implemented as we must for a time still build new websites with SS 2.4.5 while waiting for SS 3.0

  • UncleCheese
    Avatar
    4085 Posts

    Re: Maintaining DOM Link to this post

    Hi, Micah,

    Usually I have people submit the changes as pull requests on Github, and I'm pretty good about merging them into the core in a timely manner.

    --------------------
    SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

  • micahsheets
    Avatar
    Community Member
    164 Posts

    Re: Maintaining DOM Link to this post

    Thanks for the info Uncle Cheese. I will look into how to do a pull request. I usually don't like to use Github but I guess I best get my learn on and find out why everyone wants to use it these days. I still prefer SVN for my own development but maybe that isn't what Git is for.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Maintaining DOM Link to this post

    You won't prefer SVN once you start using Git. It's like preferring cassettes to an iPod Nano.

    Because Git is a distributed version control system, it's very conducive to exactly what you're talking about. Every user gets his own clone of the entire repository, so when you make changes, you can just tell me, and I merge yours with mine. With SVN, the repository lives in only one place, so all you can do is email me a diff file, which is pretty primitive, and highly prone to human error.

    Go for it!

    ---------------
    Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com

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