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, Ed, biapar, Willr, Ingo, swaiba

Bug Reports

Go to End

297 Posts   60152 Views


Community Member, 175 Posts

16 May 2010 at 9:21pm


I miss the "confirm" dialog on deleting images in grid view ...
The "confirm" dialog is there if I delete images in list view.

In firebug I see that in grid view there is no "rel" tag ...

See attached screenshot:



Forum Moderator, 4102 Posts

17 May 2010 at 4:45am

Yeah, it's a CSS issue, actually. I'm aware of the shortcoming, just haven't found a solution yet.


Forum Moderator, 4102 Posts

17 May 2010 at 4:46am

Try setAddTitle() .. the docs appear to be wrong. Sorry about that.


Community Member, 8 Posts

18 May 2010 at 1:55am

Edited: 18/05/2010 9:01pm

Update: This is now resolved, see my post here for how I fixed it!

I am also experiencing the same problem with SimpleTreeDropdownField that joshy has detailed a few posts back.

My post detailing the problem and example code is here:

Browser: Firefox 3.6.3 / Mac OS 10.6.3

Mat Weir

Community Member, 33 Posts

20 May 2010 at 5:13pm

Edited: 22/05/2010 1:48pm

Hi UncleCheese,

I think I've found a bug as this code works for HasManyComplexTableField but not with HasManyDataObjectManager.

I'm using SS 2.4 and dataobject_manager trunk.

Code is:

class Ride extends Page {
	static $has_many = array(
		'Legs' => 'Leg'
	function getCMSFields() {
		$fields = parent::getCMSFields();
			new HasManyDataObjectManager($this, 'Legs', 'Leg')
		return $fields;

class Leg extends DataObject {
	static $db = array(
		'Description' => 'Text',
		'Length' => 'Float'
	static $has_one = array(
		'Ride' => 'Ride',
		'StartTown' => 'Town',
		'EndTown' => 'Town'
	static $summary_fields = array(
		'StartTown.Title', 'EndTown.Title', 'Length', 'Description'

Seems to be ok in DOM if I remove $summary_fields.


Error message is:

[Warning] strpos() expects parameter 1 to be string, array given
GET /mysite/admin/

Line 267 in /home/matweir/Workspace/mysite/sapphire/core/ViewableData.php


Community Member, 16 Posts

21 May 2010 at 8:39pm

Edited: 21/05/2010 10:39pm



Community Member, 14 Posts

21 May 2010 at 9:08pm


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.


Community Member, 8 Posts

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.

Go to Top