Wiki系统缺陷

  • Choerodon平台版本:0.6.0

  • 运行环境:自主搭建

  • 问题描述:

    请尽量详细的描述您遇到的问题,以便我们能更快速的提供解决办法。

WIKI使用报错

  • 执行的操作:

创建了空间以后,修改了空间的名称。然后在空间下面创建了子空间。当点击子空间时候报错。

  • 报错信息(请尽量使用代码块或系统截图的形式展现):
    Error number 4001 in 4: Error while evaluating velocity template view.vm
    Error number 4001 in 4: Error while evaluating velocity template view.vm
    com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while evaluating velocity template view.vm
    at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2171)
    at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:475)
    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [/skins/flamingo/view.vm]
    at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:227)
    at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:361)
    at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:825)
    at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:701)
    at com.xpn.xwiki.internal.template.InternalTemplateManager.lambda$renderFromSkin$0(InternalTemplateManager.java:676)
    at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:85)
    at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:675)
    at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:654)
    at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:640)
    at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78)
    at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2166)
    … 49 more
    Caused by: java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java:102)
    at java.util.Stack.pop(Stack.java:84)
    at org.apache.velocity.context.InternalContextBase.popCurrentMacroName(InternalContextBase.java:140)
    at com.xpn.xwiki.render.ScriptVelocityContext.popCurrentMacroName(ScriptVelocityContext.java:37)
    at org.apache.velocity.context.InternalContextAdapterImpl.popCurrentMacroName(InternalContextAdapterImpl.java:163)
    at org.apache.velocity.context.ChainedInternalContextAdapter.popCurrentMacroName(ChainedInternalContextAdapter.java:168)
    at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:217)
    at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
    at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
    at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
    at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
    at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
    at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
    at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
    … 59 more

您好,请问wiki确定使用的是0.6.0的版本?创建子空间是用的管理员用户吗?

你好 我这边是安装的 0.12版本的整体系统

系统默认的 wiki空间是 O-运营组织 然后我修改了组织运营的名称。但是进入WIKI里面 在全部中看到的还是 组织运营。然后后续在创建子空间就出现了各种错误。

image

点击 内部系统,就会 报错。

组织运营的名字 我在主系统已经修改掉了 但是在wiki看到的还是这个名称

您好,wiki暂时还不支持同步修改主系统的名称,我们已经将这个问题记录下来了,谢谢反馈。请问内部系统的创建跟公共信息有区别吗?

没区别 只是创建了个 子空间 名字叫内部系统。 创建后,我修改了名称,然后删除了 内部系统 这个子空间。

然后回复了这个空间,发现点击会报错

那就是说 这个组织名称 不能修改么?

就是因为修改了这个名称,导致后面WIKI一系列问题

还要就是 组织名称修改后,我把wiki里面的空间名称也修改了 O-XXXX 然后就出现了报错的情况。

目前 这个 内部系统 的目录 删除也删不掉,在主系统也看不到。怎么办??

您好,组织名称是可以修改的,只是修改了没有同步到WIKI,这个问题我们将修复。WIKI报错,是WIKI侧边栏逻辑的问题,跟修改组织名称没有关系。我们正在重现你的操作,找到问题。

目前侧边栏的 有错误的栏目 在主系统看不到,并且在wiki系统中也无法删除。

好的 谢谢。

您好,在网页输入地址,例如:http://localhost:8080/bin/delete/O-运营组织/内部系统/ ,是否能进入到删除页面?

wiki是需求管理的入口,是整个项目的入口,体验和稳定性很重要。多谢。

您好,目前我们设计在wiki对空间做的操作是不可逆,也就是不会同步在猪齿鱼(主系统),当然我们也会对这个操作重新评估 :relaxed: