7913 Posts in 1355 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
| Go to End | Next > | |
| Author | Topic: | 37724 Views |
-
Re: Bug Reports

21 May 2010 at 9:08pm
Hi
I have a website with multi languages. (English, Portuguese, Chinese)
When I want to "insert a link" to my content on Portuguese/Chinese it only shows the default language links in the drop down tree, in this case English, in the past it used to list the pages from the current language.
I need to know if this is a bug or if there is a setting to fix this.
Thanks in advance.
-
Re: Bug Reports

25 May 2010 at 8:49pm
You need to get me a more verbose error. A blank alert box and a generic 500 error is not enough to go on.
---------------------------------------------------------------------------------------------------------------
Lost is so great. -
Re: Bug Reports

1 June 2010 at 2:20pm
Hi UncleCheese,
I am using ImageDataObjectManager from trunk with SS 2.4. I have a Photo object that extends Image.
The manager is defined in Category.php as:
$manager = new ImageDataObjectManager(
$this,
'Photos',
'Photo',
null,
array('Title' => 'Title', 'Description' => 'Description', 'DateTaken' => 'DateTaken'),
'getCMSFields_forPopup');I have a problem where OwnerID isn't being set on the File object. It seems that Member::currentUserID() is returning 0 in line 623 of FileDataObjectManager.php. This is strange, because of echo Member::currentUserID() from the CategoryController, it returns 1.
Have you experienced this problem with the latest versions?
Cheers,
Mat Weir
-
Re: Bug Reports

1 June 2010 at 3:14pm
ImageDOM manages DataObjects that contain images. Not images or subclasses thereof. Try ImageAssetManager.
-
Re: Bug Reports

1 June 2010 at 3:41pm
Thanks UncleCheese but I have the same problem with ImageAssetManager:
$manager = new ImageAssetManager(
$this,
'Photos',
'Photo',
array('Title' => 'Title', 'Description' => 'Description', 'DateTaken' => 'DateTaken')
);
OwnerID is set to 0 even though I'm logged in. -
Re: Bug Reports

1 June 2010 at 3:54pm
Yes, and everything is working except OwnerID being set in the File table. Images are uploading and showing correctly related to the page.
| 37724 Views | ||
| Go to Top | Next > |


