Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Bug Reports

Go to End

297 Posts   52934 Views


Community Member, 9 Posts

11 September 2009 at 5:54pm

Would it be possible to estimate a time frame for a release of a bug fix of the above mentioned bug?


Forum Moderator, 4096 Posts

12 September 2009 at 1:08am

The image path bug? That was fixed right after it was posted.


Community Member, 3 Posts

15 September 2009 at 6:29pm

Edited: 15/09/2009 6:30pm

Hi UncleCheese

I get a error with 2.3.3 when accessing my gallery page from the frontend.

Fatal error: Argument 1 passed to ImageGalleryUI::updateItems() must not be null, called in /httpdocs/dev/image_gallery/code/ImageGalleryPage.php on line 268 and defined in /httpdocs/dev/image_gallery/gallery_ui/ImageGalleryUI.php on line 18.

I am using the latest trunk as of this point.


Forum Moderator, 4096 Posts

16 September 2009 at 12:20am

I'm not seeing it. Can you replicate the issue on the demo site?


Community Member, 2 Posts

16 September 2009 at 1:51am

Edited: 16/09/2009 2:00am

I found a bug in the FileDataObjectManager when used on a multilanguage site.
When trying to upload a file the iframe popup is empty.
After some digging i found that the href on the upload link was "admin/EditForm/field/Resources?locale=sv_SE/upload". Witch obviously is wrong. There was also a problem with the import button that was related.

This was very easy to fix and here is the patch for it:

Index: FileDataObjectManager.php
--- FileDataObjectManager.php   (revision 274)
+++ FileDataObjectManager.php   (working copy)
@@ -123,7 +123,7 @@
   protected function importLinkFor($file)
-      return $this->BaseLink()."/import/$file->ID";
+      return Controller::join_links($this->BaseLink(), "/import/$file->ID");
   protected function getImportFolderHierarchy($parentID, $level = 0)
@@ -233,7 +233,7 @@
   public function UploadLink()
-      return $this->BaseLink().'/upload';
+      return Controller::join_links($this->BaseLink(), '/upload');
   protected function getUploadFields()

Andrew Houle

Community Member, 133 Posts

17 September 2009 at 3:53am

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:
Line: 8

Any ideas about what could be wrong?



Forum Moderator, 4096 Posts

17 September 2009 at 4:48am

Did you try this solution?

Andrew Houle

Community Member, 133 Posts

17 September 2009 at 4:59am

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

Go to Top