Alfresco升级到5.1,在浏览名称中带有空格的共享项目时提供404

时间:2016-09-20 07:20:50

标签: alfresco alfresco-share

从5.0.d升级到5.1。现在,浏览共享,每当我打开文件夹名称中有空格的文件夹(在文档库或存储库中)时,我都会收到404错误。

例如,Repository-> Data Dictionary使用URL: http://example.com/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Data%20Dictionary?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474355274193

检索数据,在5.0.d上运行正常,但在5.1上运行404s。在alfresco.log,catalina.log等中没有任何明显的相关内容。

有什么想法吗?

编辑:

http://example.com/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Data%20Dictionary?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474494614509

不起作用,而

http://example.com/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Shared?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474494617102

一样。所以特别是空间角色似乎很重要。整个过程中的相同行为(包括在文档库中) - 名称中的空格,链接中断,否则它起作用。

2 个答案:

答案 0 :(得分:1)

这是我在localhost上点击我自己的5.1(201604-GA)服务器确认的正确网址:

http://localhost:8080/share/service/components/documentlibrary/data/doclist/all/node/alfresco/user/home/Data%20Dictionary?filter=path&size=50&pos=1&sortAsc=true&sortField=cm%3Aname&libraryRoot=alfresco%3A%2F%2Fcompany%2Fhome&view=browse&noCache=1474409019751

因为您看到404(未找到)而不是401(未授权)或500(服务器端问题),我怀疑您错误地指定了主机或端口或两者都有。

或者,如果Share正确显示但无法与Alfresco交谈,请检查$ ALFRESCO_HOME / tomcat / shared / classes / alfresco-global.properties以确保alfresco.host,alfresco.port,share.host和share .port设置正确。

答案 1 :(得分:0)

这是tomcat 7.0.70上的已知错误。所以我会先检查tomcat版本。