07-07-2011 08:22 AM
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Could not resolve view with name 'site/undefined/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:301)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.
Suprisingly new site is created. It apears in dashlet "My Sites" and When i click on them the newly added site dashboard opens properly and i can edit and modify it. I suppose that there is some problem with returning id of the newly created site (just after clicking "Ok" button), it seems that server does not recognize id so it tries to load 'site/undefined/dashboard' but that site does not exists. When i turn the newly created site from "My Sites" dashlet in URL appears some id=CT13120110707PD between site and dashboard07-08-2011 07:10 PM
07-19-2011 06:55 AM
(…) var repoResponse = scriptRemoteConnector.post("/api/sites", clientRequest, "application/json");
if (repoResponse.status == 401)
{
status.setCode(repoResponse.status, "error.loggedOut");
return;
}
else
{
var repoJSON = eval('(' + repoResponse + ')');
// Check if we got a positive result
if (repoJSON.shortName)
{
// Yes we did, now create the site in the webtier
var tokens = new Array();
tokens["siteid"] = repoJSON.shortName;
tokens["siteCategory"] = _jsonOb.sitePreset;
sitedata.newPreset(clientJSON.sitePreset, tokens);
model.success = true;
//set shortName to the model which is necessary to build redirection to URL of new space (create-site.js)
model.newSiteURL = repoJSON.shortName;
}
else if (repoJSON.status.code)
{
status.setCode(repoJSON.status.code, repoJSON.message);
return;
}
}
(…)
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.