Jump to:

7912 Posts in 1355 Topics by 930 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Bug Reports

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Go to End
Author Topic: 37691 Views
  • splatEric
    Avatar
    Community Member
    15 Posts

    Re: Bug Reports Link to this post

    > You mean EventCalendar? That's not 2.3 compatible?

    Sorry, should have tested before asking turns out the problem with DOM was also causing the problem with EventCalendar - it's now playing nice, thanks!

  • gingersirup
    Avatar
    Community Member
    1 Post

    Re: Bug Reports Link to this post

    Hi UncleCheese,

    fixed issue when searching uploaded files under "files & images" (AssetManager.php)
    I attached a patch to the following ticket
    http://open.silverstripe.org/ticket/5383

    Greets

  • Quarx
    Avatar
    Community Member
    12 Posts

    Re: Bug Reports Link to this post

    I've just updated my ss to 2.4rc1 and also got the trunk version of DOM.
    After the update to make it work I had to change the following (core/DataObjectManager.php:647):

    foreach($this->parent->permissions as $perm) {

    to:

    $permissions = $this->parent->permissions;
    foreach($permissions as $perm) {

    Otherwise I had this: ERROR [Notice]: Indirect modification of overloaded property ManyManyDataObjectManager::$permissions has no effect

  • MarcusDalgren
    Avatar
    Community Member
    287 Posts

    Re: Bug Reports Link to this post

    Hi UncleCheese!

    I'm getting a validation error from the CMS when using the datepicker field in the CMS. Since there's been alot of changes to how the date fields work it isn't that surprising that this would start to fail, is there any fix on the horizon?

    I've been mucking about abit but I'm not sure exactly what SS wants back from us right now.

  • micahsheets
    Avatar
    Community Member
    162 Posts

    Re: Bug Reports Link to this post

    I am having an issue with SS 2.3.7 and Image Gallery 2.3 branch. I have an Image Gallery Page with two Albums. I have done some debugging and found that Albums.MoreThanOnePage is using the Images Per Gallery limit as the Albums Paging limit as well. The result is that unless I have more than 16 Albums I don't get Album Pagination. Image Pagination within a gallery works fine also using the 16 limit.

  • joshy
    Avatar
    Community Member
    57 Posts

    Re: Bug Reports Link to this post

    Hi UncleCheese,

    On trunk (r 386), SimpleTreeDropdownField doesn't seem to be working.

    I have as $has_one for LinkPage => Page, and when I do this:

    new SimpleTreeDropdownField("LinkPageID", "Choose a page to link to", "Page")

    The field simply doesn't show.

    When I change LinkPageID to 'LinkPage', the field shows but the value does not store. I have used this exact code elsewhere and it worked fine!

    Could you please take a look?

    Cheers,

    Josh

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    That means the field has already been added to your form from another source. A lot of times that happens with legacy fieldnames, so it's really common with something like SimpleTreeDropdownField because it's based on a foreign key. You just have to get them cleaned up. As an experiment, just look at the source of your form and look for anything in there already named "LinkedPageID" (probably a hidden input). Try changing the field name to something else (even if it doesn't exist in the DB yet) and you'll see that it gets added. Usually just a namespace conflict.

  • joshy
    Avatar
    Community Member
    57 Posts

    Re: Bug Reports Link to this post

    Hi,

    Thanks for your reply. I have changed it to something obscure and the issue is still present. I may be wrong but it looks like a recently introduced bug because this same code has worked on previous SS sites we've done.

    Cheers,

    Josh

    37691 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
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.