AnsweredAssumed Answered

Could not resolve view with name 'site/undefined/dashboard'

Question asked by ddzingielewski on Jul 7, 2011
Latest reply on Jul 19, 2011 by ddzingielewski
hi,
I am working with:
Alfresco Community v3.4.0
(c @build-number@) schema 4113
Spring Surf and Spring WebScripts - v1.0.0
(Release Candidate 2 739)

I have some errors when I'm am trying to add new space in Share. From main dashboard i click "Sites->Create Site", when I provide custom input fields and click "Ok" button I get error message:


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 dashboard
(full URL:  http://localhost:8080/share/page/site/CT13120110707PD/dashboard)

What can be the reason of that kind of error ?
Where I can found code which is responsible for reloading to the newly created site ?

Thanks for any help
dd

Outcomes