Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » mixing dataobjectmanager with complextablefield breaks ctf

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2
Go to End
Author Topic: 2253 Views
  • schellmax
    Avatar
    Community Member
    126 Posts

    Re: mixing dataobjectmanager with complextablefield breaks ctf Link to this post

    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();
       }

  • UncleCheese
    Avatar
    4085 Posts

    Re: mixing dataobjectmanager with complextablefield breaks ctf Link to this post

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

    2253 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.