| Summary: | TS creates broken associations | ||
|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Chris Hartley <chrhartl> |
| Component: | Diagrams | Assignee: | Yuri Strot <yuri> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | erdillon, yuri |
| Version: | 0.5M1 | ||
| Target Milestone: | 0.5M0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Chris Hartley
Hi Chris, do you have specific steps to reproduce? Creating an association on newly created model seems to work fine. So something else is probably going on, Note that I suspect you're seeing a side effect of another bug that Richard is working on now where the model in memory gets out of sync with the state on disk when using SVN operation (e.g. an update is not correctly accounted for). As a result the model is broken in memory and could lead to scenarios like below. See Bug 308620 I've reproduced this problem: 1. Add two entries and association between these entries. 2. Add class diagram and move there all components. 3. Now you can open Association Property Editor (double click on association) and enter empty value as a name of the aEnd or zEnd. 4. While on the diagram it will show old name the model will be change. So we can see empty name in the Tigerstripe Explorer. Also Artifact Editor can't be open because of NPE. 5. We can also remove association from the diagram and move it from the explorer again. It will show empty name for association end. 6. Association Property Editor can't be opened because of exception originally reported. I think the correct solution is restrict empty names in the Association Property Editor. So we can show error message in this dialog or ignore invalid changes like it was done while saving Artifact Editor. Added empty name check to the AssociationPropertiesEditDialog. |