[Solved] Exporting without any settings

0 votes
asked Jan 14, 2013 in Solved by jwagner (3,630 points)
recategorized Jan 17, 2013 by jwagner

ORM Designer 2.1.6.678, MVC Symfony2, ORM Doctrine2

It is possible to create a new project, model and then just click export. Without expert knowledge I don't know where to set export settings (yeah, module settings ... but I'm a novice for the sake of this bug report). GUI says "Export complete" although no files are listed at all.

This needs a warning "You do not have set any export settings, go to ..."

commented Jan 14, 2013 by ludek.vodicka Skipper developer (140,450 points)

As usual thank you for testing and all comments. You're right. We will add some guide when no module is selected to export.

commented Jan 14, 2013 by jwagner (3,630 points)

And when any module does not have export settings, please. It's not so much about module selection as the fact that you could exclude a module from export just by forgetting to set what to export where in that module.

commented Jan 17, 2013 by ludek.vodicka Skipper developer (140,450 points)

I didn't notice your message until now. So you're suggesting to check if any of available modules has export settings, and without that don't allow export?

Maybe a better solution would be display list of not-exported modules in the result screen?
Now we have implemented only check that at least one module has export settings.

commented Jan 18, 2013 by ludek.vodicka Skipper developer (140,450 points)

Next version of ORM Designer will have this feature.

enter image description here

commented Jan 18, 2013 by jwagner (3,630 points)

Grrrreat! (I need 12 chars)

1 Answer

0 votes
answered Jan 17, 2013 by ludek.vodicka Skipper developer (140,450 points)
selected Jan 17, 2013 by jwagner
 
Best answer

This issue was fixed in latest version 2.1.7.679. You can download this version here http://support.orm-designer.com/31/download-orm-designer2-here

commented Jan 17, 2013 by jwagner (3,630 points)

Answer to your question above "So you're suggesting to check if any of available modules has export settings, and without that don't allow export?" (No more comments possible because I selected an answer already)
No, just a warning. We have 15 modules in our big project and recently I added a new one but forgot to set the export settings. It should not halt the export but produce a warning.

Follow-up question: What's the use of a Quick Model?
Is there a plan to support changing MVC and ORM configuration later on? Or is the Quick Model just useable for visual modeling and export to PDF?

commented Jan 17, 2013 by ludek.vodicka Skipper developer (140,450 points)

The usage of Quick model is exactly what you wrote. Create ERD diagram prototype during brainstorming without any additional logic.

We already discuss about feature for changing MVC/ORM several times but still without any result. It isn't possible write rules which converts for example Doctrine1 ORM attributes (behaviors) to Doctrine2.

So only way how to perform conversion is remove all ORM properties and convert only core model. But I'm not sure if feature like this will be useful. The only usage of this feature would be in converting Quick model to Doctrine2 model for example.

commented Jan 17, 2013 by jwagner (3,630 points)

Yeah, my thoughts exactly. It wouldn't be feasible to convert between ORMs, especially seeing all the features that Doctrine2 does and does not support in contrast to D1 or Propel.

I'm just thinking that maybe some user will model their whole schema with the Quick Model type and only when they are done will it be apparent that there is no export and they have to start from scratch. Maybe a little info screen as to the purpose and caveats of the Quick Model?
You could include a default comment in the Quick Model "Simple module" template.

commented Jan 17, 2013 by ludek.vodicka Skipper developer (140,450 points)

Good idea! I will insert model comment and discus model conversion.

commented Jan 18, 2013 by ludek.vodicka Skipper developer (140,450 points)

Next quick project template:

enter image description here

commented Jan 18, 2013 by jwagner (3,630 points)

Perfect! That should suffice.

...