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

Nesting a ManyManyDataObjectManager


Go to End
Reply


11 Posts   1690 Views

Avatar
UncleCheese

Forum Moderator, 4094 Posts

10 November 2009 at 4:58pm

I just spent two and a half hours testing your setup, and going through my code thinking there was a bug somewhere. After all that I find you've got a typo in your ManyManyDataObjectManager constructor.

new ManyManyDataObjectManager(
$this,
'AvalableSizes',
'ProductSize',
array(
'size' => 'Size',
)
)

Ugh.. This is a good reminder why I stopped offering free support. :)

Avatar
UncleCheese

Forum Moderator, 4094 Posts

10 November 2009 at 5:01pm

Gives me a good reason to add a more user-friendly error for this problem, though. No one should have to go through that level of debugging for a typo.

Avatar
JoshuaLewis

Community Member, 76 Posts

10 November 2009 at 5:27pm

Thank you so much, I'm sorry to have taken up so much of your time with this. I've been working to clear some other tasks off my desk and dreading the fact that as soon as I do I'd have to start in on that kind of debugging.

Go to Top