Bug #7130

Shared library export fails if a shared library is not selected

Added by Hannu Niemistö 10 months ago. Updated 10 months ago.

Status:NewStart date:
Priority:4Due date:
Assignee:Antti Villberg% Done:

0%

Category:-Spent time:-
Target version:-
Release notes:
Story points-
Velocity based estimate-

Description

If shared library export is tried and no shared library is not selected, the wizard page creation fails with exception:

java.lang.RuntimeException
    at org.simantics.modeling.ui.sharedontology.wizard.SharedOntologyExportPage.initializeData(SharedOntologyExportPage.java:162)
    at org.simantics.modeling.ui.sharedontology.wizard.SharedOntologyExportPage.createControl(SharedOntologyExportPage.java:150)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1216)
    ...

The standard logic in export wizards is to have export target selection combo box (or similar) in the first page of the export wizard that is filled by default with the selected resource, but left empty, if the current selection does not have a matching type.

Also available in: Atom PDF