[xwiki-users] How to fully delete a Space?
Hi All, I have some problems to fully delete a Space from Xwiki, I think there is a not update cache of pages list that contains moved/deleted pages, here what i did: I tried to move all pages from the space "A" to the space "B" and to delete A.WebHome. In this way it seems that the space is fully deleted and if I try to open the url: https://intranet.test.com/xwiki/A/ I get the message "The requested document could not be found", as i expected. The problem is that the "A" space yet appears in the "listo of spaces" that i can select in "Search", "Lucene Search", "Index", "Tree"... If I Search in space "A" i get some name of pages but if i click on them i get the "The requested document could not be found" message because i moved them on space "B" Can you let me know where i'm wrong? is there any way to delete the indexes that contain the space list? If not, Can i work directly on database? Thanks! Loris
Loris Conedera wrote:
Hi All, I have some problems to fully delete a Space from Xwiki, I think there is a not update cache of pages list that contains moved/deleted pages, here what i did:
Please use the Delete Space snippet: http://code.xwiki.org/xwiki/bin/Snippets/DeleteSpaceSnippet
I tried to move all pages from the space "A" to the space "B" and to delete A.WebHome. In this way it seems that the space is fully deleted and if I try to open the url:
https://intranet.test.com/xwiki/A/
I get the message "The requested document could not be found", as i expected.
The problem is that the "A" space yet appears in the "listo of spaces" that i can select in "Search", "Lucene Search", "Index", "Tree"... If I Search in space "A" i get some name of pages but if i click on them i get the "The requested document could not be found" message because i moved them on space "B"
This is probably because the document name ends with a space, and the wiki link syntax trims spaces.
Can you let me know where i'm wrong? is there any way to delete the indexes that contain the space list? If not, Can i work directly on database?
You should not do that, although it's possible. -- Sergiu Dumitriu http://purl.org/net/sergiu/
2009/7/15 Sergiu Dumitriu <[email protected]>:
Please use the Delete Space snippet: http://code.xwiki.org/xwiki/bin/Snippets/DeleteSpaceSnippet
I just tried "Delete Space snippet", all seems to work good but when i check the space is not deleted. Any other solution? Thanks, Loris
Loris Conedera wrote:
2009/7/15 Sergiu Dumitriu <[email protected]>:
Please use the Delete Space snippet: http://code.xwiki.org/xwiki/bin/Snippets/DeleteSpaceSnippet
I just tried "Delete Space snippet", all seems to work good but when i check the space is not deleted. Any other solution? Thanks,
Can you join me on IRC? http://dev.xwiki.org/xwiki/bin/view/IRC/ -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Loris Conedera -
Sergiu Dumitriu