"allow parent delete..."

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

"allow parent delete..."

Postby david » Thu Jan 17, 2008 9:47 pm

i don't think i've ever asked for a feature to be removed in servoy but this one check box in the relationship dialog can be a real pain to track down.

i see the logic of having a restraint like this. however, in practice you have all kinds of relationships pointing all over the place to give you various views and value lists. so you can easily have multiple relationships that have to maintain this logic constraint.

particularly if you code with modules. once you put all your modules together if you forgot this one checkbox on one relationship in one of your modules ....

add in multiple developers to a project and one of them forgot to check this box ....

if i needed to have this logic before it was easy enough to add this check in the record delete method. we also have an onRecordDeleteCmd() now as well we can trap for. both ways much easier to enforce whether or not you allow parent records to be deleted or not because it is happening at an event level you define.

if you can't easily track or manage something, it is not useful to me. and this feature is impossible to manage in it's current implementation. the only thing it has done for us is create confusion.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1726
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby Thomas Parry » Fri Jan 18, 2008 4:50 pm

I fully support this feature request "removal". As David says there are now more specific ways of dealing with the problem.

This might break existing solutions - so perhaps some other overriding parameters could be invented to "ignore" the "allow parent delete setting".

Tom
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada


Return to Discuss Feature Requests

Who is online

Users browsing this forum: MSN [Bot] and 2 guests