| Summary: | Modifying the link on JPA diagram throws IllegalStateException: Cannot modify resource set without a write transaction | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Ram Venkataswamy <ram.venkataswamy> | ||||||||||
| Component: | Diagram Editor | Assignee: | Petya Sabeva <petya.sabeva> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | Stefan Dimov <stefan.dimov> | ||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | ||||||||||||
| Version: | 0.5 | ||||||||||||
| Target Milestone: | 0.5 RC2 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Ram Venkataswamy
Created attachment 177921 [details]
patch
(In reply to comment #0) ... > - Close & re-open JPA diagram editor > > The link path modification is not retained. ... The JPA editor doesn't support changing of the relations layout. It's automatic. Perhaps we should think of some more flexible way of layouting ... (In reply to comment #1) > Created an attachment (id=177921) [details] > patch I still get the exception ... Created attachment 178489 [details]
Disable MoveRelationFeature
Because we do not support changing of the relations layout, this patch disables MoveRelationFeature at all.
I've committed the patch, although still when you select the relation you can use the bendpoints to change the relation layout. But now, when you deselect the relation its layout recovers the way it was and we see the exception no more. It would be better if the bendpoints disappear and the user is not able to change the layout at all. As a long term solution perhaps we have to think of various ways of layouting. Created attachment 178588 [details]
Disable Move Feature
This patch disable the movement of the relation at all...
I've tried the patch with three entities and three relations between them and seems that after consequtive selection of one or another relation sometimes I can move some relation, sometimes - not. Seems that it happens on random principle ... Created attachment 178796 [details]
patch
The patch is committed ... |