Andrey Razumovsky updated CAY-1104:
-----------------------------------
Attachment: fix-scenario2.txt
Sure we can! I've analyzed the combobox behavior a bit more. Turns out default combo editors do stop editing when an item is selected. In autocompletion we cannot do that (selecting items is suggestion list would not work). So I added stopping editing at focus lost. This seems to fix your scenario. Still, situation with table headers I mentioned has not changed. It is a match against default java behavior and needs much more effort, this is probably a separate issue.
> Modeler misses new renamed attributes, relationship mappings
> ------------------------------------------------------------
>
> Key: CAY-1104
> URL: https://issues.apache.org/cayenne/browse/CAY-1104
> Project: Cayenne
> Issue Type: Bug
> Components: CayenneModeler GUI
> Affects Versions: 3.0
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.0
>
> Attachments: fix-scenario1.txt, fix-scenario2.txt
>
>
> Something else is badly broken on the trunk compared to M4.
> Scenario 1:
> 1. Add a new DbAttribute to an existing DbEntity.
> 2. Rename it from default "untitledXXX" to something else.
> 3. Go the ObjEntity of this DbEntity and try to add a new ObjAttribute
> At this point the list of DbAttributes still lists "untitledXXX" , not the new name of the new DbAttribute.
> Scenario 2:
> 1. Add a new DbRelationship between 2 existing DbEntities
> 2. Open join mapping dialog and select source and target keys
> 3. Close join mapping dialog
> 4. Open it again
> At this point join target is blank
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Sun Sep 07 2008 - 14:08:11 EDT