Jump to:

7911 Posts in 1354 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: 37645 Views
  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Bug Reports Link to this post

    Hi Uncle Cheese,

    I've just uploaded a fresh install of SS 2.3.3 and the newest versions of dataobject_manager and swf_upload. Then to test things out I used the sample resource code. When I go to add a dataobject the upload field does not show and the error console in Firefox shows...
    Error: jQuery is not defined
    Source File: http://64.30.240.50/dataobject_manager/javascript/dataobjectmanager_popup.js?m=1253116031
    Line: 8

    Any ideas about what could be wrong?

    Thanks

  • UncleCheese
    Avatar
    4085 Posts
  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Bug Reports Link to this post

    Strange. Well that fix cleared the js error, but the upload button is still non-existent when using the FileDataObjectManager

  • Howard
    Avatar
    Forum Moderator
    215 Posts

    Re: Bug Reports Link to this post

    Hi UncleCheese,

    I think I have found a bug that has taken ages to debug, when creating a relation to a page the page has to be the first argument in the has_one array ie:

    static $has_one =array(
          'SmallGroupPage' => 'SmallGroupPage',
          'GroupImage' => 'Image',
          'CalEventPage' => 'SiteTree'
       );


    is different to

    static $has_one =array(
          'GroupImage' => 'Image',
          'CalEventPage' => 'SiteTree',
    'SmallGroupPage' => 'SmallGroupPage'
       );


    It doesn't add the page relation to the page that it was created on unless the SmallGroupPage value is the first. Also the SimpleTreeDropdownField only worked when the CalEventPage wasn't the first page relation in the array.

    I have got it working now but I wasn't aware that the order of the relationships had any relevance, oh I might point out that it worked when I used a ComplexTableField (I didn't test the dropdown box though).

    Thanks

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    When I tested, CTF did the same thing, which makes sense to me because all of the relation-building code lives in the parent class of DOM (CTF).

    I'll have to look into it again.

  • edk
    Avatar
    Community Member
    39 Posts

    Re: Bug Reports Link to this post

    Hi UncleCheese...not a code bug but a Browser / Platform Quirk Fix.

    - Module: image_gallery
    - What: When using Thickbox as your gallery viewer on the mac the overlay on the pop-up does not shade to a transparent black. Basically you get the pup-up but the box jsut sits there with no nice faded background.
    - The Fix: You need to include the file "macFFBgHack.png" in the same directory as the thickbox.css file. [image_gallery/gallery_ui/thickbox/css/

    BTW: Thanks so much for all your fantastic modules and your dedictaion and time you give to this. I know I am not alone in saying how useful they are. Great Work!

    -chango

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    Thanks. That's fixed in the latest rev.

  • ss23
    Avatar
    Community Member
    5 Posts

    Re: Bug Reports Link to this post

    I got the following bug while trying to add an image that was already uploaded to a gallery. I had a quick ask on IRC and simon_w informed me that it doesn't look like a core bug, so here I am
    Instead of pasting the error here, it's pastebinned at http://ss23.pastebin.com/m13e1d0a4.
    Being the SS noob I am, I have no idea if it's my fault or something else, so don't hesitate to be blunt about it etc.

    Also on another note, I see you're using requirements:css instead of requirements:themedcss, is this going to be changed in later version, or whats the happs there? (I've changed it to themed on my projects if that makes a different to the above bug)

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