[Solved] [ORM2] Apply button - strange behaviour

0 votes
asked Mar 13, 2013 in Solved by Dirk (250 points)
recategorized Jun 26, 2014 by Martin Freki Stradej

Hi,

Found a small bug: when adding a new entity, the Apply button is behaving strange.

Steps to reproduce:
1. Add an entity
2. Click Apply
3. Click Apply again [OR] Click OK

Result:
- An error message: Model already contains Entity with name [name].
- After clicking Cancel, the Project Tree is not refreshed (not sure if bug? what would be the correct behavior when someone presses 'Apply' and then 'Cancel'?)

Version:
ORM Designer 2.1.10.697 on Windows 7 x64
Symfony2+Doctrine2 project

Expected behavior:
I guess the Apply button must "Create" the first time, and "Update" the second time (instead of trying to create again).

commented Mar 13, 2013 by ludek.vodicka Skipper developer (140,450 points)

Thanks for reporting. We will check it tomorrow, but the problem probably is in invalid entity re-creating like you wrote.

1 Answer

0 votes
answered Jul 30, 2014 by Martin Freki Stradej Skipper developer (74,840 points)
 
Best answer

This was fixed in one of the previously released versions of ORM Designer.

...