Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Bug Reports

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, 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: 44658 Views
  • MarcusDalgren
    Avatar
    Community Member
    288 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
    164 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

  • Johnny
    Avatar
    Community Member
    34 Posts

    Re: Bug Reports Link to this post

    Hi!

    There's a bug using DataObjectManager. Drag and drop reordering is broken. After clicking "Allow drag and drop reordering" checkbox, then I try to move lines around, and instead, the line is growing.

    Reproduced with FF 3.6.3, Safari 4.0.5 and IE7.
    I have SS 2.3.4 installed.

    Thanks

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    Are you running the 2.3 branch?

  • danzzz
    Avatar
    Community Member
    175 Posts

    Re: Bug Reports Link to this post

    hi

    I'm playing arround with SS 2.4 + dataobjectmanager.

    I dont know if it's a bug ...

    500//ERROR [User Error]: Uncaught Exception: Object->__call(): the method 'setbuttonaddtitle' does not exist on 'FileDataObjectManager'

    or just the documentation is depraced?

    setButtonAddTitle($title) The text that will appear on the Add button of the FileDataObjectManager. Defaults to PluralTitle.

    ... writes here:
    http://doc.silverstripe.org/modules:dataobjectmanager

    daniel

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