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

mixing dataobjectmanager with complextablefield breaks ctf


Reply

10 Posts   2282 Views

Avatar
schellmax

19 May 2009 at 3:00am (Last edited: 19 May 2009 3:40am), Community Member, 126 Posts

i'm really ashamed of this.
dataobjectmanager has become a significant part of silverstripe for me, so i completely missed the fact it doesn't come with svn updates of the core. it definitely should, but that's no excuse, i know.
just updated and everything's fine as usual.
unclecheese, so sorry for wasting your time.
at least, maybe this thread reminds others being more clever than i've been and running updateds before asking.

[edit:] a last, hopefully helpful comment for others concerning the bugfix to replace a 'Title' by a custom 'Name' field: in case you still rely on the 'Title' field in some other context, you may have the following in you page class:

   function onBeforeWrite() {
      $this->Title = $this->Name;
      $this->MenuTitle = $this->Name;
      parent::onBeforeWrite();
   }

Avatar
UncleCheese

19 May 2009 at 9:25am 4085 Posts

The $Title issue is FINALLY fixed. Was only happening in RelationDOM's.