Fix after changes in Argeo Commons
[gpl/argeo-suite.git] / org.argeo.app.ui / src / org / argeo / app / ui / SuiteApp.java
index 50a7f80a82f90bc14fe622aadfbe1f8769fd027f..d59edd59969ba9e79a27bd2f91809d47159ec240 100644 (file)
@@ -224,7 +224,8 @@ public class SuiteApp extends AbstractCmsApp implements CmsEventSubscriber {
                                        // FIXME NPE on CMSSession when logging in from anonymous
                                        if (cmsSession == null || cmsView.isAnonymous()) {
                                                assert publicBasePath != null;
-                                               Content userDir = contentSession.get(CmsConstants.SYS_WORKSPACE + publicBasePath);
+                                               Content userDir = contentSession
+                                                               .get(ContentUtils.SLASH + CmsConstants.SYS_WORKSPACE + publicBasePath);
                                                ui.setUserDir(userDir);
 //                                             ui.initSessions(getRepository(), publicBasePath);
                                        } else {