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

2009-05-31 Thread Niels Mayer
The following may provide some hints w/r/t directly deleting malformed pages from the database: http://nielsmayer.com/whatididtopoorsql.txt There are unresolved bugs related to this class of issues: http://jira.xwiki.org/jira/browse/XE-376 http://jira.xwiki.org/jira/browse/XE-336 IMHO, I think th

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

2009-05-29 Thread Sergiu Dumitriu
Sebastian Kannengiesser wrote: > Hi guys, > > solved it. The document was called SpaceName.__, so just two underscores. So > the "http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

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

2009-05-29 Thread Sebastian Kannengiesser
Hi guys, solved it. The document was called SpaceName.__, so just two underscores. So the " * $xwiki.getXMLEncoded($i) > #end > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mai

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

2009-05-29 Thread Sergiu Dumitriu
Sebastian Kannengiesser wrote: > 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

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

2009-05-29 Thread Guillaume Lerouge
Hi Sebastian, On Fri, May 29, 2009 at 1:59 PM, Sebastian Kannengiesser < sebastian.kannengies...@gmail.com> wrote: > 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 i

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 [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi! Sergiu Dumitriu wrote: > > Sorry, it was supposed to be doc.name, not doc.space > > Thanks Sergiu! I was getting an error and I was not able to explain it! Cheers -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xw

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. * $xwiki.getXMLEncoded($i) > #end > > then use that as the document name. > >> >> On Wed, May 27, 2009 at 1

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

2009-05-28 Thread Sergiu Dumitriu
Sebastian Kannengiesser wrote: > Hi Ricardo, > > thanx for the tip, but apparently in my case it does not work. > > Doing just the $xwiki.getDocument("myspace. > On Wed, May 27, 2009 at 11:54 PM, [Ricardo Rodriguez] Your EPEC Network ICT > Team wrote: > >> Hi Sebastian, >> >> To hack the datab

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

2009-05-28 Thread Guillaume Lerouge
Hi, On Thu, May 28, 2009 at 5:28 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: > Hi Sebastian, > > Sebastian Kannengiesser wrote: > > Hi Ricardo, > > > > thanx for the tip, but apparently in my case it does not work. > > > > Doing just the $xwiki.getDocument("myspace.http://lists.xwi

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

2009-05-28 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Sebastian, Sebastian Kannengiesser wrote: > Hi Ricardo, > > thanx for the tip, but apparently in my case it does not work. > > Doing just the $xwiki.getDocument("myspace.http://lists.xwiki.org/mailman/listinfo/users

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

2009-05-28 Thread Sebastian Kannengiesser
Hi Ricardo, thanx for the tip, but apparently in my case it does not work. Doing just the $xwiki.getDocument("myspace.http://www.xwiki.org/xwiki/bin/view/FAQ/HowToDeleteAnInaccessibleDocument > > Please, let us know is this makes the trick. Thanks. > > Cheers, > > Ricardo > > Sebastian Kannengies

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 da

[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/http://lists.xwiki.org/mailman/listinfo/users