#5259 initialising default ranks
authorCherian Mathew <c.mathew@bgbm.org>
Wed, 16 Sep 2015 12:59:59 +0000 (14:59 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Wed, 16 Sep 2015 12:59:59 +0000 (14:59 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/CdmStoreConnector.java

index f43e777dfceccfb9579e65e5ef91b50b550a0e0a..4a9d7e1d1be5d0f3ee3b7c5eb234aae8ed19358e 100644 (file)
@@ -31,6 +31,7 @@ import eu.etaxonomy.cdm.config.ICdmSource;
 import eu.etaxonomy.cdm.database.DbSchemaValidation;
 import eu.etaxonomy.cdm.database.ICdmDataSource;
 import eu.etaxonomy.cdm.model.metadata.CdmMetaData;
+import eu.etaxonomy.cdm.model.name.Rank;
 import eu.etaxonomy.taxeditor.model.CdmProgressMonitorAdapter;
 import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.remoting.source.ICdmRemoteSource;
@@ -225,6 +226,7 @@ class CdmStoreConnector extends Job {
                                         CdmStore.getLoginManager().doAuthenticate(loginDialog.getUsername(), loginDialog.getPassword());
                                         loginDialog.onComplete();
                                         CdmStore.getContextManager().notifyContextStart();
+                                        Rank.initDefaultTerms();
                                     } catch(CdmAuthenticationException cae) {
                                         loginDialog.hide(false);
                                         loginDialog.setMessage(cae.getMessage());