This is a migrated thread and some comments may be shown as answers.

Bug on Visual Designer

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel Bichuete
Top achievements
Rank 1
Daniel Bichuete asked on 10 Oct 2010, 05:17 AM

Hi,

 I have detected one bug on you Visual Designer for OA. For reproducing it I'll explain a few steps and use some imaginary tables and domain.

 Well, let's assume a system that only log users in. You design the database first and create a Users table, a UserLogins table, a UserGroups table and a UserPermissions table. You setup the PK and FK.

 But as a mistake you setup UserLogins as many-to-one with Users, UserPermissions many-to-many with UserGroups and then you go and Add Domain Model on your project.

 This would generate the rlinq file and so on (let's assume using attribute on nested namespace on multiple files).

 Then you see your mistake and go on database an setup the FK for UserGroups and Users using a join table (many-to-many). After saving you go on Visual Designer, right-click and select Update from Database. Select the tables you updated and Finish.

 Visual Designer wont update (may be the way you want, but I think it should, but this is not yet the bug I mentioned, this is more a lack of feature that would be nice if implemented). Then if you delete the entities and try to add then again you would notice that associations now appears on Visual Designer (great!) but the IList collections arent there. If you look over the generated files the collections are there but not at the visual designer.

 For making this work I had to remove the whole domain, deleting the rlinq file and adding again. Then i displayed the correct visual entities and associations and collections.

Best regards,

Daniel Bichuete

1 Answer, 1 is accepted

Sort by
0
Petko_I
Telerik team
answered on 12 Oct 2010, 06:27 PM
Hello Daniel Bichuete,

Thank you for your detailed explanation. We are aware of the visual glitch with navigation properties which are not displayed correctly when a remap is done. The generated code is fine because the OpenAccess meta model is correctly set up. So, you should not have problems working with your model and you should be able to use the navigation properties. The issue has actually been fixed and you will see the resolution in our next distribution.

Do not hesitate to contact us again, should you notice anything troubling.

All the best,
Petko_I
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Daniel Bichuete
Top achievements
Rank 1
Answers by
Petko_I
Telerik team
Share this question
or