Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » ** 2.4 Compatibility Patch is in **

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
Go to End
Author Topic: 4273 Views
  • timwjohn
    Avatar
    Community Member
    98 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    Hey,

    I'm getting

    [19-Mar-2010 11:05:09] Warning at \sapphire\forms\ComplexTableField.php line 1004: Missing argument 3 for ComplexTableField_Item::__construct(), called in C:\xampp\htdocs\wag\dataobject_manager\code\DataObjectManager.php on line 584 and defined (http://localhost/wag/admin/library/LibraryItem/1/edit)

    in my logfile when I try to edit an existing extended DataObject.

    ...

    Just wiped all my custom class tables before rebuilding and I'm now getting these errors when trying to add an asset to an obect. These are the errors I'm getting for my custom Image and PDF objects:

    [19-Mar-2010 11:47:09] Warning at \sapphire\forms\ComplexTableField.php line 1004: Missing argument 3 for ComplexTableField_Item::__construct(), called in C:\xampp\htdocs\wag\dataobject_manager\code\DataObjectManager.php on line 584 and defined (http://localhost/wag/admin/library/LibraryItem/1/EditForm/field/Images?ctf[Images][start]=0&ctf[Images][per_page]=10&ctf[Images][showall]=0&ctf[Images][sort]=Created&ctf[Images][sort_dir]=DESC&ctf[Images][search]=&ctf[Images][filter]=&ctf[Images][view]=grid&ctf[Images][imagesize]=100)

    [19-Mar-2010 11:50:16] Warning at \sapphire\forms\ComplexTableField.php line 1004: Missing argument 3 for ComplexTableField_Item::__construct(), called in C:\xampp\htdocs\wag\dataobject_manager\code\DataObjectManager.php on line 584 and defined (http://localhost/wag/admin/library/LibraryItem/1/EditForm/field/PDFs?ctf[PDFs][start]=0&ctf[PDFs][per_page]=10&ctf[PDFs][showall]=0&ctf[PDFs][sort]=Created&ctf[PDFs][sort_dir]=DESC&ctf[PDFs][search]=&ctf[PDFs][filter]=&ctf[PDFs][view]=)

    I'm using 2.4 Beta 2 and ModelAdmin (if that makes a difference). If I roll back to the 2.3 branch all seems fine again.

  • hotcode
    Avatar
    Community Member
    13 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    Thx for the update Uncle Cheese ... I've finally got back to testing the latest on 2.4 beta2 and have found that a couple of the lightboxes don't load: Fancy Box, LightBox (Balupton edition) and Pretty Photo. The all just open the photo in the window by themselves.

    Thickbox has a loading bar that comes up but doesn't progress past this and have the following warning from Firefox:

    Warning: Expected attribute name or namespace but found '@rel'.
    Source File: http://127.0.0.1/ss24/photos/album/another-default
    Line: 0

    The rest work fine ... in Firefox 3.6 at least

    BTW: I have updated both the dataobject manager and the image gallery to be the latest available.

  • UncleCheese
    Avatar
    4085 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    For 2.4 versions of Silverstripe you need to be on the trunk. 2.3 is on /branches/2.3/dataobject_manager.

  • UncleCheese
    Avatar
    4085 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    I'd imagine we're going to need to update all those lightboxes now that SS is on jQuery 1.4.2. Can you try updating one of the broken lightboxes to their latest version and confirm the fix?

  • timwjohn
    Avatar
    Community Member
    98 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    Funny thing is, if I switch to trunk I get the errors. Could the issue be related to ModelAdmin?

  • UncleCheese
    Avatar
    4085 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    Please confirm that you don't get the errors in CMSMain.

  • timwjohn
    Avatar
    Community Member
    98 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    Will do ASAP. Got a deadline Monday morning. It's kinda crazy right now!

  • hotcode
    Avatar
    Community Member
    13 Posts

    Re: ** 2.4 Compatibility Patch is in ** Link to this post

    Updating to jquery.fancybox-1.3.1.js & jquery.fancybox-1.3.1.css & images gets the light box working - but it seems unusably slow in IE8 but is fine in FireFox it also needs some styling and cosmetic fixes

    4273 Views
Page: 1 2 3 4 5
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.