Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# gedw99 7/1/2009 12:11 PM
All content holds a striong reference to the User via a FK.

This means that when deleting content it wont allow it, unless the user is deleted.
I think the hbm needs to be carefully managed to allow this on the Content Item.

Martin, have you found this also in the 2.0 code base ?

ged
# Constructor 7/1/2009 1:08 PM
I have not had this problem. Could you elaborate a little on how to replicate?

I can CRUD ContentItems fine on my build. I also include a FK reference to the section for all the modules I create so that they can be deleted whilst still containing content. Otherwise you have to manually remove content first which is a pain.
# martijnb 7/2/2009 8:31 AM
gedw99All content holds a striong reference to the User via a FK.

This means that when deleting content it wont allow it, unless the user is deleted.
I think the hbm needs to be carefully managed to allow this on the Content Item.

We'll have a thorough look at it to make sure deleting content doesn't cascade to User and Section.