Re: [xwiki-users] delete pages with unallowed characters in their names

2009-05-29 Thread Sebastian Kannengiesser
Guys, thanx for all your tips. Especially the getXMLEncoded thing is nice to know of. But in my case, the document is not found with that statement, i.e. the foreach loop is not even iterated once. I understand there must be a way, otherwise, how could the Orphaned pages code find the document. I

Re: [xwiki-users] delete pages with unallowed characters in their names

2009-05-28 Thread Sergiu Dumitriu
Sergiu Dumitriu wrote: Sebastian Kannengiesser wrote: Hi Ricardo, thanx for the tip, but apparently in my case it does not work. Doing just the $xwiki.getDocument(myspace.em class=) return me the document as I find by looking at the class field of the returned object. But calling delete

[xwiki-users] delete pages with unallowed characters in their names

2009-05-27 Thread Sebastian Kannengiesser
Hi guys, is raw database hacking the only way to remove such pages? e.g. when looking at the orphaned pages tab in AllDocs, I find documents, generated through faulty code evaluation, such as .../SpaceName/em class= , so to say, somehow the page was created with somje html stuff in its name.

Re: [xwiki-users] delete pages with unallowed characters in their names

2009-05-27 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Sebastian, To hack the database is always a delicate issue! Perhaps this could help you... http://www.xwiki.org/xwiki/bin/view/FAQ/HowToDeleteAnInaccessibleDocument Please, let us know is this makes the trick. Thanks. Cheers, Ricardo Sebastian Kannengiesser wrote: Hi guys, is raw