Would it be possible to estimate a time frame for a release of a bug fix of the above mentioned bug?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
Bug Reports
The image path bug? That was fixed right after it was posted.
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.
I'm not seeing it. Can you replicate the issue on the demo site? http://dataobjectmanager.carlinowebdesign.com
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()
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
Did you try this solution?
http://www.silverstripe.org/all-other-modules/show/268708?start=0#post268886
Strange. Well that fix cleared the js error, but the upload button is still non-existent when using the FileDataObjectManager