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/