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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

2.3 Branch

Go to End

19 Posts   10652 Views


Community Member, 26 Posts

30 April 2010 at 2:32pm

I am getting these same symptoms also from a clean 2.7 install. Any update?



Forum Moderator, 4102 Posts

30 April 2010 at 2:57pm

You guys are using the download attached to this thread?


Community Member, 26 Posts

30 April 2010 at 4:31pm

Confirm. I've reinstalled the two modules as attached to the thread and all now is serene.

Just having trouble with UserForms module now. About to reinstall that module again from the latest build. *sigh* Site was due for delivery an hour ago.

Never mind. "Murphy" is a hard taskmaster :)



Community Member, 26 Posts

30 April 2010 at 4:42pm

And the Userforms reinstall fixed that issue! Woohoo! Now only the bespoke stuff to finalise and the draft goes to the client!



Community Member, 81 Posts

30 April 2010 at 8:15pm

Perfect, got the updates. I still have the following issues:

- View button does not show next to the edit button
- The save button still needs to be scrolled to
- There is now a white gap on the right in the lightbox

New issue
When I use the ManyManyData I get the following error:
[Notice] Undefined index: DataObjectManagerAction

Never had this before so I have now reverted to an older version of your module.


Forum Moderator, 4102 Posts

1 May 2010 at 1:46am

Note that there was never a "view" button in DOM. A view mode is generated if the user doesn't have edit perms.


Community Member, 49 Posts

19 May 2010 at 10:27pm

Edited: 20/05/2010 12:10am

[UPDATE] I just copied over HTMLDropdownField.php from the new version of dataobject manager

Hi, I've installed SS v2.3.7 and everything works until I install the attached version of dataobject manager (2.3), When I go to Files & Images I get this error, how can I get it to work?

[Warning] Unknown class passed as parameter
GET /silverstripe/website/index.php/admin/assets/

Line 445 in D:\silverstripe\website\sapphire\core\Object.php

436 	 * Prepare static variables before processing a {@link get_static} or {@link set_static}
437 	 * call.
438 	 */
439 	private static function prepare_statics($class) {
440 		// _cache_statics_prepared setting must come first to prevent infinite loops when we call
441 		// get_static below
442 		self::$_cache_statics_prepared[$class] = true;
444 		// load statics now for DataObject classes
445 		if(is_subclass_of($class, 'DataObject')) {
446 			$extensions = Object::uninherited_static($class, 'extensions');
447 			if($extensions) foreach($extensions as $extension) {
448 				if(preg_match('/^([^(]*)/', $extension, $matches)) {
449 					$extensionClass = $matches[1];
450 					DataObjectDecorator::load_extra_statics($class, $extensionClass);
451 				}

And here's a bit of the trace:

    * is_subclass_of(HTMLDropdownField,DataObject)
      Line 447 of Object.php
    * Object::prepare_statics(HTMLDropdownField)
      Line 269 of Object.php
    * Object::uninherited_static(HTMLDropdownField,extensions)
      Line 515 of Object.php
    * Object->__construct()
      Line 74 of RequestHandler.php
    * RequestHandler->__construct()
      Line 81 of FormField.php
    * FormField->__construct(ParentID,Folder,,)
      Line 59 of DropdownField.php

It's looking for HTMLDropdownField, where does that even exist?


Forum Moderator, 4102 Posts

20 May 2010 at 1:50am

That was added in the 2.4 version. Should be in /code/dropdown_fields/