- return JcrUtils.getUserHomePath(username) + '/' + SlcNames.SLC_RESULTS
- + '/' + JcrUtils.dateAsPath(now, true) + uuid;
+ Node userHome = UserJcrUtils.getUserHome(session);
+ if (userHome == null)
+ throw new SlcException("No user home available for "
+ + session.getUserID());
+ return userHome.getPath() + '/' + SlcNames.SLC_RESULTS + '/'
+ + JcrUtils.dateAsPath(now, true) + uuid;