[xwiki-users] Problem in Extension

2016-04-08 Thread Matthias Wegner
Hi Users, i programmed two years ago the Citation-Extension at https://github.com/matthiaw/xwiki-rendering-macro-citations. Now i found a bug in XWiki 8.x when i add on different pages the CitationClass-Object. There is a null-pointer-exception at Line 79, see

Re: [xwiki-users] 4-byte UTF and XWiki (MySQL utf8mb4 encoding)

2016-04-08 Thread Debajit Adhikary
I have changed my MySQL database columns to support utf8mb4 (4-byte unicode), and I can render chinese characters etc correctly now. When I upgrade my XWiki to a newer version in the future, will this cause issues in the upgrade? (I am guessing there may be database schema changes in a future

Re: [xwiki-users] Nested pages livetable

2016-04-08 Thread Mahomed Hussein
Thanks Vincent. We are currently running version 8.0. I take it we'll only see this fix in the next release after milestone 1? I am only asking so I know when to check, I am not trying to be pushy ;-) Thanks again. Kind regards, Mahomed Hussein Custodian Data Centre Email:

Re: [xwiki-users] Nested pages livetable

2016-04-08 Thread Vincent Massol
I’ve fixed the issue and backported the fix in 7.4.3 (not released yet). Thanks -Vincent > On 08 Apr 2016, at 17:37, Mahomed Hussein wrote: > > Hi Vincent > > Thanks. The viewer=children option is a usable workaround for now. The > SpaceIndex option was slightly

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Vincent Massol
You’re not answering my questions. I can’t help you more without the info I ask, sorry. -Vincent > On 08 Apr 2016, at 17:04, Matthias Barmeier > wrote: > > Hi, > > take look at my previous posts: > > this works: > >

Re: [xwiki-users] Nested pages livetable

2016-04-08 Thread Mahomed Hussein
Hi Vincent Thanks. The viewer=children option is a usable workaround for now. The SpaceIndex option was slightly nicer because it was sortable on document title (not just location). I was going to try editing XWiki.LiveTableResults but I couldn't work out where that was (which probably means

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier
Hi, take look at my previous posts: this works: [[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]] this not: {{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" section="HFSS.properties"/}} But I tried other headings and

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Vincent Massol
> On 08 Apr 2016, at 16:28, Matthias Barmeier > wrote: > > Hi, > > this is really strange look at the error message the H is there :( Could you provide the following info (same as what I provided in my previous reply): - the content where you include the

[xwiki-users] Immediate Child Document Query

2016-04-08 Thread Personal
Per the Query Module documentation: List of child spaces: select space.name from XWikiSpace as space where space.parent = 'Parent Space’ List of all nested documents in a space:where doc.space like 'Space' or doc.space like 'Space.%’ The first

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier
Hi, this is really strange look at the error message the H is there :( Ciao Matze Am 08.04.2016 um 09:36 schrieb Vincent Massol: On 08 Apr 2016, at 09:33, Vincent Massol wrote: On 08 Apr 2016, at 09:29, Matthias Barmeier wrote:

Re: [xwiki-users] Nested pages livetable

2016-04-08 Thread Vincent Massol
Hi Mahomed, > On 07 Apr 2016, at 19:01, Mahomed Hussein wrote: > > This issue has kind of bitten us as well. The table format of listing all > documents in a particular space is really useful (regardless of nested pages > or not). Sadly the spaceIndex (which I think

Re: [xwiki-users] Nested pages livetable

2016-04-08 Thread Vincent Massol
Hi CarlJ, > On 22 Mar 2016, at 13:49, CarlJ wrote: > > Hi Vincent, > > Thanks for your help, that's not quite what I am looking is for something > that would display the children of a page that could be several pages down > > I hope that makes sense as I am still

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Vincent Massol
> On 08 Apr 2016, at 09:33, Vincent Massol wrote: > > >> On 08 Apr 2016, at 09:29, Matthias Barmeier >> wrote: >> >> Hi Vincent, >> >> from my point of view the addressed item is a heading. Page and section >> enytry (Source) to

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Vincent Massol
> On 08 Apr 2016, at 09:29, Matthias Barmeier > wrote: > > Hi Vincent, > > from my point of view the addressed item is a heading. Page and section > enytry (Source) to include: > > > = Synaptic File Synchronisation Service (FSS) = > > == FFS.properties ==

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier
Hi Vincent, from my point of view the addressed item is a heading. Page and section enytry (Source) to include: = Synaptic File Synchronisation Service (FSS) = == FFS.properties == In dieser Datei wird der File Synchonization Service (FSS) konfiguriert. Dieser ist für die Datei-Donwloads

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Vincent Massol
Hi Matthias, The reason it doesn’t work is that right now the {{include}} Macro can only include Heading sections. I supposed you’re using the {{id}} macro to generate an anchor and that is not supported by the include macro right now. If you check the documentation for the include macro

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier
Hi, @Marius: No that does not work :( Adding .WebHome leads to the same exception: org.xwiki.rendering.macro.MacroExecutionException: Cannot find section [HFSS.properties] in document [produkte:Synaptic.Technik.Konfigurationsdateien.WebHome] at