Skip to content

Instantly share code, notes, and snippets.

@ss23
Created April 12, 2013 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ss23/5370237 to your computer and use it in GitHub Desktop.
Save ss23/5370237 to your computer and use it in GitHub Desktop.
21:06 < jamine> HI ANYONE KNOWS ABOUT THIS ISSUE http://www.silverstripe.org/data-model-questions/show/22377
21:07 < jamine> ISSUES ABOUT THE ManyManyList::add() can't be called until a foreign ID is set
21:07 < ss23> jamine: Yes, it's known
21:07 < ss23> jamine: There's no easy fix for it, so it's just a limitation you'll have to work with
21:08 <@simon_w|air> Fixed in 3.1
21:09 -!- lx-bln [~a@p57A099BD.dip.t-dialin.net] has joined #silverstripe
21:09 <@simon_w|air> Sure, you still can add things to a ManyManyList before it has a foreign ID, but unsaved DOs don't give out ManyManyLists any more
21:09 < ss23> Oh there you are!
21:09 < jamine> OH OKAY SS23 WILL TRY THAT VERSION CURRENTLY WERE ON 3.0.2
21:09 < jamine> THANK YOU
:
21:09 < ss23> jamine: I think your caps lock is on
21:10 < jamine> sorry i mean it so that everybody can noticed my message...hehehe
21:10 <@simon_w|air> ss23, I've been here for about two hours now :p
21:10 < ss23> simon_w|air: I meant like, "Well there you are! That's how you do it"
21:11 < ss23> I realised it was badly phrased after I said it, but there was no easy fix
21:11 < ss23> :<
21:11 <@simon_w|air> Oh right, UnsavedRelationList!
21:11 <@simon_w|air> jamine, how loud you are doesn't change how likely people are to see something :p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment