Log message #3940954

# At Username Text
# Sep 30th 2016, 15:22 birdy247 but If I am using the trash plugin
# Sep 30th 2016, 15:22 birdy247 This might be an easy answer
# Sep 30th 2016, 15:22 birdy247 Neon1024
# Sep 30th 2016, 15:20 str $user->unset('partner')->save(); or just the unset?
# Sep 30th 2016, 15:20 Neon1024 $user->unset(â??partnerâ??)
# Sep 30th 2016, 15:20 Neon1024 Of it one is set
# Sep 30th 2016, 15:20 Neon1024 Donâ??t assign a Partner entity to the User entity
# Sep 30th 2016, 15:19 str If I have Users BelongsToMany Partners. and I wnat to remove the link for a specific user and leave that user with no partner, how do I do that?
# Sep 30th 2016, 15:18 str Hi!
# Sep 30th 2016, 15:09 Neon1024 In some cases but only if I felt it was relevant. I donâ??t think there is a hard and fast rule though
# Sep 30th 2016, 14:59 djbuss would you use load model instead ?
# Sep 30th 2016, 14:59 Neon1024 Perhaps I should be calling a method instead
# Sep 30th 2016, 14:58 Neon1024 If youâ??ve got that many though, Iâ??d stop and think, why am I traversing so many models
# Sep 30th 2016, 14:58 Neon1024 Nope
# Sep 30th 2016, 14:58 djbuss Do you guys see a problem in using models chained ? like $this->ModelA->ModelB->ModelC->find(â??allâ??)
# Sep 30th 2016, 14:52 Neon1024 Too cynical to trust my brain!
# Sep 30th 2016, 14:52 Neon1024 No idea why I think that though
# Sep 30th 2016, 14:52 Neon1024 As I think with cascade it should go through each related item one at a time in the related table class
# Sep 30th 2016, 14:52 Neon1024 Put it in both tables though
# Sep 30th 2016, 14:51 birdy247 :+1:
# Sep 30th 2016, 14:48 Neon1024 Just put afterDelete() with parent::afterDelete; and exit() everywhere, see what works
# Sep 30th 2016, 14:48 birdy247 If only we could be in the same room lol
# Sep 30th 2016, 14:48 birdy247 I am not expalining very well
# Sep 30th 2016, 14:48 birdy247 no probs
# Sep 30th 2016, 14:48 Neon1024 Had a hectic week this week
# Sep 30th 2016, 14:48 Neon1024 Sorry I canâ??t be more help, on a bit of a deadline today
# Sep 30th 2016, 14:45 Neon1024 Iâ??d have left the behaviour alone and bound a listener to the event myself
# Sep 30th 2016, 14:44 Neon1024 Both table classes.
# Sep 30th 2016, 14:44 birdy247 in the table class
# Sep 30th 2016, 14:44 birdy247 :slightly_smiling_face:
# Sep 30th 2016, 14:44 birdy247 instead, I have my own
# Sep 30th 2016, 14:44 Neon1024 ACTION jumps in the sea
# Sep 30th 2016, 14:44 Neon1024 Then Iâ??m lost
# Sep 30th 2016, 14:44 birdy247 I have configured it so it doesnt
# Sep 30th 2016, 14:44 Neon1024 So youâ??ve diabled that functionality, and then say that it doesnâ??t work
# Sep 30th 2016, 14:44 Neon1024 The behaviour uses beforeDelete to trash items
# Sep 30th 2016, 14:44 birdy247 because I have disabled the beforeDelete
# Sep 30th 2016, 14:43 birdy247 is that what you mean?
# Sep 30th 2016, 14:43 birdy247 $event->stopPropogation()
# Sep 30th 2016, 14:42 Neon1024 Thatâ??s like saying you canâ??t drive your car because youâ??ve taken the wheels off
# Sep 30th 2016, 14:42 Neon1024 If youâ??ve removed the event if uses, then no, it won't