[Solved] Export to ORM crashes

0 votes
asked Jan 11, 2014 in Solved by SteveGroom (430 points)
recategorized Jun 26, 2014 by Martin Freki Stradej

Issues with module settings and export causing application crash.

Looking at the module settings the filenames and paths seem odd:

e.g. ../../../../../Documents/driverbase.module.xml
or Untitled.module.xml.module.xml.module.xml.module.xml.module.xml

Corrected this to driverbase.module.xml
( though two extensions seems to confuse mac os x though - should I use XML or keep both extensions ? )

Setting the relative export paths causes problems though
I set the path to current directory "." ( XML, YML or annotations have same effect)
After close and re-open the dialog the path is shown as
"../../../../../../../../../../../Documents"

Export as XML or YML works, export as annotations crashes the app.

This happens in trial version 2.2.9.801 on Mac OS X Mavericks.

Steve Groom

commented Jan 11, 2014 by ludek.vodicka Skipper developer (140,450 points)

Hi Steve, thank you for reporting this issue. I will check it and let you know.

2 Answers

0 votes
answered Jan 22, 2014 by ludek.vodicka Skipper developer (140,450 points)
selected Jul 30, 2014 by Martin Freki Stradej
 
Best answer

Hi Steve,

we successfully located and fixed both problems you're referring. Please download latest version 2.2.10.811 from our main site: http://www.orm-designer.com/download-orm-designer

0 votes
answered Jan 11, 2014 by ludek.vodicka Skipper developer (140,450 points)

Hi Steve, I tried it on my 10.9.1 mac.

Regarding the problem with module settings path, I see the same behavior here. It's weird we didn't notice it before. The problem is probably caused by two file extensions, so we will update it to something line .ormdmodule.

Regarding your second problem with export path, you didn't write which ORM framework you're using. Based on annotations mention I suppose it's Doctrine2. I entered "." to export path, closed Module Editor dialog and reopened it and the path was still correct.

It depends if your're using ORM which requires single schema file for whole module (Doctrine, Propel) or ORM framework which uses one file per entity (Doctrine2, CakePHP). In case you're using ORM framework from the first group, you need to enter schema file path (i.e. ./Config/Doctrine/schema.yml). In case you're using ORM from the second group, you need to enter path to directory.

Hope my answer will help you to configure ORM Designer properly. On Monday we will do more detailed tests and add some more directory validations based on your feedback to help new users more easily configure their first export.

In case my answer doesn't cover your issues, I will be grateful for any more detailed information, ideally with video screencast so we can replicate and fix this issue here.

Thank you and have a nice weekend
Ludek

...