X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=plugins%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fcommands%2FOpenModuleEditor.java;h=85d047a95d5d18dd394042af1afaedf2606daf71;hb=c1c0cfad11c63dcaa10030facc97a46a212d1533;hp=b1b9619eb64ef69e8ea36c94e1e5de100d7c337a;hpb=3355fbcd66a8fc061b8ddbf9d287ee4d17734d0e;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/commands/OpenModuleEditor.java b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/commands/OpenModuleEditor.java index b1b9619eb..85d047a95 100644 --- a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/commands/OpenModuleEditor.java +++ b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/commands/OpenModuleEditor.java @@ -82,8 +82,9 @@ public class OpenModuleEditor extends AbstractHandler { businessSession = RepoUtils.getCorrespondingSession( repositoryFactory, keyring, repoNode, repoUri, workspaceName); - repoUri = repoNode.getProperty(ArgeoNames.ARGEO_URI) - .getString(); + if (repoUri == null && repoNode != null) + repoUri = repoNode.getProperty(ArgeoNames.ARGEO_URI) + .getString(); } catch (RepositoryException e) { throw new SlcException("Cannot log to workspace "