7921 Posts in 1359 Topics by 933 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 1898 Views |
-
Re: mixing dataobjectmanager with complextablefield breaks ctf

19 May 2009 at 3:00am Last edited: 19 May 2009 3:40am
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();
} -
Re: mixing dataobjectmanager with complextablefield breaks ctf

19 May 2009 at 9:25am
The $Title issue is FINALLY fixed. Was only happening in RelationDOM's.
| 1898 Views | ||
| Go to Top |

