5 Replies Latest reply on Jul 2, 2014 8:00 PM by nic56590

    Delete a Space

      Hi All,

       

      Is it possible to delete a Space? (not a sub-space)

       

      I have been trying to re-organize our spaces a little and the only tool I have found to do this is the space merge tool which makes moving spaces extremely awkward.

       

      I had to create the same subspaces elsewhere but then there were space name conflicts and now I have a totally dead space which which spits this out when I click on it.

       

           

      •   Status Code: 500

           

      • Exception Type: null

           

      • Error Message: Method public boolean com.jivesoftware.community.proxy.IteratorProxy.hasNext() threw an exception when invoked on com.jivesoftware.community.proxy.IteratorProxy@709dc4

           

      • Request URI: /clearspace/community/zong2

           

      • Stack Trace:

                o freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136)

                o freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)

                o freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

                o freemarker.core.Expression.isTrue(Expression.java:138)

                o freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)

                o freemarker.core.Environment.visit(Environment.java:196)

                o freemarker.core.MixedContent.accept(MixedContent.java:92)

                o freemarker.core.Environment.visit(Environment.java:196)

                o freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

                o freemarker.core.Environment.visit(Environment.java:196)

                o freemarker.core.Macro$Context.runMacro(Macro.java:164)

                o freemarker.core.Environment.visit(Environment.java:537)

                o freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)

                o freemarker.core.Environment.visit(Environment.java:196)

                o freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

                o freemarker.core.Environment.visit(Environment.java:196)

                o freemarker.core.MixedContent.accept(MixedContent.java:92)

                o freemarker.core.Environment.visit(Environment.java:196)

                o freemarker.core.Environment.process(Environment.java:176)

                o freemarker.template.Template.process(Template.java:232)

                o com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153)

                o com.jivesoftware.community.web.webwork.FreemarkerResult.doExecute(FreemarkerResult.java:130)

                o com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)

                o com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.web.webwork.FlashInterceptor.intercept(FlashInterceptor.java:40)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)

                o com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)

                o com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.web.webwork.JiveObjectLoaderInterceptor.intercept(JiveObjectLoaderInterceptor.java:55)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.web.webwork.JiveIOCInterceptor.intercept(JiveIOCInterceptor.java:706)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.action.LocaleInterceptor.intercept(LocaleInterceptor.java:50)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.web.webwork.AuthInterceptor.intercept(AuthInterceptor.java:60)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.web.webwork.JiveLoginInterceptor.intercept(JiveLoginInterceptor.java:42)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.jivesoftware.community.web.webwork.ModuleCheckInterceptor.intercept(ModuleCheckInterceptor.java:49)

                o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

                o com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)

                o com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)

                o com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)

                o com.jivesoftware.community.web.webwork.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:53)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

                o com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.jivesoftware.community.web.JiveActionContextCleanUp.doFilter(JiveActionContextCleanUp.java:46)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.jivesoftware.community.web.filter.PresenceFilter.doFilter(PresenceFilter.java:106)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o org.directwebremoting.servlet.DwrWebContextFilter.doFilter(DwrWebContextFilter.java:91)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.jivesoftware.community.upgrade.UpgradeFilter.doFilter(UpgradeFilter.java:43)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.jivesoftware.base.plugin.PluginFilter.doFilter(PluginFilter.java:71)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.jivesoftware.base.database.dao.DAOContextCleanUpFilter.doFilter(DAOContextCleanUpFilter.java:32)

                o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)

                o com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)

                o com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)

                o com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424)

                o com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)

                o com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)

                o com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)

                o java.lang.Thread.run(Thread.java:595)

           

      • freemarker.template.TemplateModelException: Method public boolean com.jivesoftware.community.proxy.IteratorProxy.hasNext() threw an exception when invoked on com.jivesoftware.community.proxy.IteratorProxy@709dc4

       

       

      Thanks,

      Serge

        • Re: Delete a Space

          Ok, well I have partially found what I was looking for as far as deleting a space however I am tempted to say that there are some problems with the Space Merge feature.

           

          We now have a database which must be in some sort of inconsistent state and some or our spaces have gone missing.

           

          I had a look at the schema of Clearspace and was actually very surprised to see the lack of any Database level constraints....

           

          No wonder the types of errors I am seeing can happen.

           

          Do you guys have a tools for Clearspace which can do a consistency check on the database for clearspace?

           

          Thanks,

          Serge