DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Workflow details on share using allinone-archetype #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ~$ mvn archetype:generate 
-DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/ar
chetype-catalog.xml
2. ~$ mvn install -Prun

3. Go to http://localhost:8080/share/page/my-tasks#filter=workflows|active
 Create new review task and assign the reviewer(s) (I used "Parallel review task" and assigned 2 of the already existing users to the task, not myself though)
4. Go to http://localhost:8080/share/page/my-workflows#filter=workflows|active
5. Try to view the details of the new workflow

What is the expected output? What do you see instead?
The workflow details should show up, instead the following error message is 
written to the logs:

<pre>
2013-02-13 10:32:29.990:WARN::/share/page/_d41d8cd98f0b24e980998ecf8427e
javax.servlet.ServletException: Could not resolve view with name 
'_d41d8cd98f0b24e980998ecf8427e' in servlet with name 'Spring Surf Dispatcher 
Servlet'
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1029)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
    at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:374)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2013-02-13 10:32:30,156  ERROR [alfresco.web.site] [687962827@qtp-1814825197-4] 
javax.servlet.ServletException: Could not resolve view with name 
'_d41d8cd98f0b24e980998ecf8427e' in servlet with name 'Spring
</pre>

What version of the product are you using? On what operating system?
Version: shipped 4.2.b, but the issue also applies on 4.2.c
Linux(Gentoo) with following output for "maven -version":
<pre>
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/me/tmp/foo/apache-maven-3.0.4
Java version: 1.7.0_13, vendor: Oracle Corporation
Java home: /opt/oracle-jdk-bin-1.7.0.13/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.7.6-gentoo", arch: "amd64", family: "unix"
</pre>

Please provide any additional information below.

As suggested in the google-group I switched to the latest sun-jdk, used latest 
maven-3.0.4 from maven.apache.org and tried a different linux-system too 
(latest fedora).

Original issue reported on code.google.com by torit...@gmail.com on 13 Feb 2013 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by colum...@gmail.com on 14 Feb 2013 at 10:15

GoogleCodeExporter commented 9 years ago
Hi toritrae,
thanks for your issue. I could not reproduce the issue on trunk (rev 684)
This is what I did (obviously, after mvn clean install the 
mavne-alfresco-archetypes project)

+ mvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype 
-DgroupId=com.mycompany.demo -DartifactId=myapp 
-DarchetypeArtifactId=alfresco-allinone-archetype 
-DarchetypeVersion=1.0.2-SNAPSHOT -DinteractiveMode=false
+ cd myapp && mvn clean install -Prun
+ Go to http://localhost:8080/share/page/my-tasks#filter=workflows|active 
(login as admin/admin)
+ Start Workflow > Review and Approve
+ Assign the task to "Administrator"
+ Go to http://localhost:8080/share/page/my-tasks#filter=workflows|active
+ Click on "View Task"

The task shows as expected, no exceptions logged.

Moving the issue to 1.1, so that it can be verified and confirmed by the issue 
owner before closing it.

Original comment by maurizio...@alfresco.com on 2 Jul 2013 at 12:26

GoogleCodeExporter commented 9 years ago
Mau, can I assign this to you for review?

Should be OK to close.

Original comment by colum...@gmail.com on 28 Oct 2013 at 1:56

GoogleCodeExporter commented 9 years ago
Tested on rev. 714. Cannot reproduce

Original comment by maurizio...@alfresco.com on 3 Nov 2013 at 3:20