Jump to:

7921 Posts in 1359 Topics by 933 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: 38548 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    Use setGridLabelField($fieldName);

  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Bug Reports Link to this post

    Thanks!

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Bug Reports Link to this post

    Hey UncleCheese
    While working with the DOM we found a bug with modifying permissions on a DOM instance.
    The culprit is the removePermission method where it's impossible to remove the "add" permission. The root of the problem is that you're not checking the array key with strict typing, so that array key 0 equals false!

    Here you'll find a patch that fixes the issue:
    http://bummzack.ch/misc/dataobjectmanager_add.patch

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Bug Reports Link to this post

    Hello Uncle Cheese

    Here's another patch for the current release of the DOM (Rev 347).
    There seems to be missing a closing DIV in the RelationDataObjectManager template. When using a RelationDataObjectManager instance in the CMS, all following tabs get messed up (eg. they appear blank).

    Patch is here: http://bummzack.ch/misc/RelationDataObjectManager.patch

  • JoshuaLewis
    Avatar
    Community Member
    76 Posts

    Re: Bug Reports Link to this post

    I believe I'm experiencing a similar bug as banal. I'm using a recent update to SS 2.3.5 and DOM r355.

    After some trial and error I got the tabs to display correctly by adding an additional div to the end of RelationDataObjectManager.ss. This makes for two div's following $ExtraData at line 110 instead of just one.

  • Zauberfisch
    Avatar
    Community Member
    30 Posts

    Re: Bug Reports Link to this post

    the if you use SimpleHTMLEditorField in a nested data object manager it is not as big as the popup (see screen)

    http://www.imagebanana.com/view/e26c9s8/textfield_to_small.png
    alternativ url: http://yfrog.com/jntextfieldtosmallp

    greetings zauberfisch

  • theAlien
    Avatar
    Community Member
    131 Posts

    Re: Bug Reports Link to this post

    Hi,

    It seems the gridview of ManyManyFileDataObjectManager doesn't display any icons (for testing purposes I also tried FileDataObjectManager, and in that case, the icons are displayed just right).

    I'm on revision 359. Debugging doesn't return any errors.

  • socks
    Avatar
    Community Member
    182 Posts

    Re: Bug Reports Link to this post

    SS 2.3.5
    DOM r359

    When I click on an image thumbnail in the CMS to edit, I get a mess of scroll bars.

    Screenshot:
    http://drop.io/sfc6mgw/asset/picture-28-png

    Thank you

    --------------

    EDIT:

    Wow, you're super quick with these updates. I figured I had the latest since I downloaded it not that long ago. Updated to r366, all is well.

    Thanks again!

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