3068 Posts in 868 Topics by 650 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 277 Views |
-
SS3.0.2 Remove Relations instead of Objects on ModelAdmin remove action

6 October 2012 at 1:47am
After setting up two new DataObjects with a many to many relationship and bringing them to the frontend with ModelAdmin the data are displayed well. Also I can add new objects and bring them in relation to each other.
Now, I have the problem that if I remove a relationship the object related is removed and not only the relationship.
I wonder if this is a bug or the normal behavior and if it is not a bug how can I change it so that the object in the database is kept and only the relationship will be removed?
Thanks for your help.
-
Re: SS3.0.2 Remove Relations instead of Objects on ModelAdmin remove action

20 October 2012 at 1:18pm Last edited: 20 October 2012 2:03pm
Did you find an answer for this?
I'm having a similar issue. This seems like a bug not a feature?
EDIT: Just after I replied to your post I found this:
http://www.silverstriperesources.com/articles/silverstripe-3-many-many-a-comprehensive-example/Turns out it is a feature.
--
Chris
| 277 Views | ||
|
Page:
1
|
Go to Top |


