Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1298

Spaces macro doesn't list spaces that contain a colon in their name

    Details

    • Tests:
      Integration
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The document references used to check access level are obtained by string concatenation and so the colon in the space name is not escaped. The following exception is logged for a space named "Sp:ace":

      2013-05-13 17:44:37,583 [http://localhost:8080/xwiki/bin/view/Sp%3Aace/Page] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2013-05-13 17:44:37,583 [http://localhost:8080/xwiki/bin/view/Sp%3Aace/Page] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: SP 
      2013-05-13 17:44:37,595 [http://localhost:8080/xwiki/bin/view/Sp%3Aace/Page] ERROR .a.DefaultAuthorizationManager - Failed to load rights for user [xwiki:XWiki.Admin] on [Sp:ace.WebPreferences]. 
      org.xwiki.security.authorization.AuthorizationException: Could not retrieve the document to check security access when checking access to [Sp:XWiki.XWikiPreferences]
      	at org.xwiki.security.authorization.internal.DefaultSecurityEntryReader.getDocument(DefaultSecurityEntryReader.java:208) ~[xwiki-platform-security-bridge-5.1-20130513.103614-53.jar:na]
      	at org.xwiki.security.authorization.internal.DefaultSecurityEntryReader.getSecurityRules(DefaultSecurityEntryReader.java:249) ~[xwiki-platform-security-bridge-5.1-20130513.103614-53.jar:na]
      	at org.xwiki.security.authorization.internal.DefaultSecurityEntryReader.read(DefaultSecurityEntryReader.java:187) ~[xwiki-platform-security-bridge-5.1-20130513.103614-53.jar:na]
      	at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.getRules(DefaultSecurityCacheLoader.java:324) ~[xwiki-platform-security-api-5.1-20130513.103523-35.jar:na]
      	at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.loadRequiredEntries(DefaultSecurityCacheLoader.java:144) ~[xwiki-platform-security-api-5.1-20130513.103523-35.jar:na]
      	at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.load(DefaultSecurityCacheLoader.java:102) ~[xwiki-platform-security-api-5.1-20130513.103523-35.jar:na]
      	at org.xwiki.security.authorization.DefaultAuthorizationManager.getAccess(DefaultAuthorizationManager.java:198) ~[xwiki-platform-security-api-5.1-20130513.103523-35.jar:na]
      	at org.xwiki.security.authorization.DefaultAuthorizationManager.hasSecurityAccess(DefaultAuthorizationManager.java:151) ~[xwiki-platform-security-api-5.1-20130513.103523-35.jar:na]
      	at org.xwiki.security.authorization.DefaultAuthorizationManager.hasAccess(DefaultAuthorizationManager.java:109) ~[xwiki-platform-security-api-5.1-20130513.103523-35.jar:na]
      	at org.xwiki.security.authorization.internal.XWikiCachingRightService.hasAccessLevel(XWikiCachingRightService.java:346) [xwiki-platform-security-bridge-5.1-20130513.103614-53.jar:na]
      	at com.xpn.xwiki.api.XWiki.hasAccessLevel(XWiki.java:1690) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21]
      	at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228) [xwiki-commons-velocity-5.1-20130513.101426-16.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187) [xwiki-commons-velocity-5.1-20130513.101426-16.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1815) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1755) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:895) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21]
      	at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228) [xwiki-commons-velocity-5.1-20130513.101426-16.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187) [xwiki-commons-velocity-5.1-20130513.101426-16.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1815) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1755) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:895) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21]
      	at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228) [xwiki-commons-velocity-5.1-20130513.101426-16.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187) [xwiki-commons-velocity-5.1-20130513.101426-16.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1815) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:152) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:299) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) [servlet-api-3.0.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [servlet-api-3.0.jar:na]
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-5.1-SNAPSHOT.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-5.1-20130513.103406-54.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-5.1-20130513.102620-36.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-5.1-20130513.102620-36.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.Server.handle(Server.java:368) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:932) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:994) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) [jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21]
      Caused by: com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [Sp:XWiki.XWikiPreferences]
      Wrapped Exception: Error number 3301 in 3: Exception while switching to database Sp
      Wrapped Exception: error executing work
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:905) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1489) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1532) [xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at org.xwiki.security.authorization.internal.DefaultSecurityEntryReader.getDocument(DefaultSecurityEntryReader.java:202) ~[xwiki-platform-security-bridge-5.1-20130513.103614-53.jar:na]
      	... 121 common frames omitted
      Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database Sp
      Wrapped Exception: error executing work
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:701) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:873) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:805) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:781) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	... 125 common frames omitted
      Caused by: org.hibernate.exception.GenericJDBCException: error executing work
      	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
      	at org.hibernate.impl.SessionImpl.doWork(SessionImpl.java:2001) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeSQL(XWikiHibernateBaseStore.java:715) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:684) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	... 128 common frames omitted
      Caused by: java.sql.SQLException: invalid schema name: SP
      	at org.hsqldb.jdbc.Util.sqlException(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.jdbc.Util.sqlException(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.jdbc.JDBCStatement.execute(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) ~[commons-dbcp-1.3.jar:1.3]
      	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) ~[commons-dbcp-1.3.jar:1.3]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore$1.execute(XWikiHibernateBaseStore.java:722) ~[xwiki-platform-legacy-oldcore-5.1-20130513.112209-38.jar:na]
      	at org.hibernate.impl.SessionImpl.doWork(SessionImpl.java:1997) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
      	... 130 common frames omitted
      Caused by: org.hsqldb.HsqlException: invalid schema name: SP
      	at org.hsqldb.error.Error.error(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.error.Error.error(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.SchemaManager.getSchemaHsqlName(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.Session.getSchemaHsqlName(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.ParserDQL.readSchemaName(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.ParserCommand.compileSet(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.ParserCommand.compilePart(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.ParserCommand.compileStatements(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.Session.executeDirectStatement(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	at org.hsqldb.Session.execute(Unknown Source) ~[hsqldb-2.2.9.jar:2.2.9]
      	... 136 common frames omitted
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: