Re: [xwiki-users] [xwiki-devs] Merry Christmas 2016

2016-12-23 Thread Julio Brum
Obrigado! Thank you! Happy New Year!

2016-12-23 15:44 GMT-02:00 Vincent Massol :

> Hi everyone,
>
> Let me wish everyone a Merry Christmas 2016 and a Happy New Year.
>
> May you continue to use XWiki in 2017!
>
> And let’s make 2017 the year when XWiki takes the world by storm… :)
>
> Thanks
> -Vincent
> XWiki developer
>
>


[xwiki-users] Merry Christmas 2016

2016-12-23 Thread Vincent Massol
Hi everyone,

Let me wish everyone a Merry Christmas 2016 and a Happy New Year.

May you continue to use XWiki in 2017!

And let’s make 2017 the year when XWiki takes the world by storm… :)

Thanks
-Vincent
XWiki developer



Re: [xwiki-users] (no subject)

2016-12-23 Thread Marius Dumitru Florea
On Thu, Dec 22, 2016 at 9:28 AM, Ekku Laukkarinen 
wrote:

> Hello,
>
> I recently loaded ~3000 pages into my XWiki (8.2.1) instance. And noticed a
> enormous increase in loading times of DocumentTree in my custom navigation
> panel, which shows the pages under first level of space hierarchy:
>
> #set( $root = $doc.getDocumentReference().getSpaceReferences().get(0).
> toString().replaceAll('([~"])', '~$1').replace("Space ", "document:") +
> ".WebHome")
> {{documentTree showTranslations="false" root="$root" showRoot="true"
> showAttachments="false" /}}
>
> Before loading the pages each request took around ~600ms. After adding the
> pages load time was around 15 seconds. After bit of googling I found the
> JIRA issue:
> http://jira.xwiki.org/browse/XWIKI-13700
> 
>
> And decided to upgrade to 8.4.3. However, the issue did not get fixed and
> there was no change in load times. Turning on debug prints for hibernate
> resulted in the following:
>
>

> 2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.i.SessionImpl
>

This is not the URL that the document tree is using in version 8.4.3. It
seems your upgrade is not complete. Did you went through the Distribution
Wizard to upgrade the UI (i.e. the wiki pages)? You should check if the
code of the XWiki.DocumentTreeMacros page corresponds with what you get by
default on 8.4.3. Also, it doesn't hurt to clear the browser cache after an
upgrade.

Hope this helps,
Marius


>   - opened session at timestamp: 14823292564
>
> 2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.t.JDBCTransaction
>   - begin
>
> 2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.j.ConnectionManager
>   - opening JDBC connection
>
> 2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.t.JDBCTransaction
>   - current autocommit status: false
>
> 2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] INFO  o.h.d.Dialect
>   - Using dialect: org.hibernate.dialect.HSQLDialect
>
> 2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.l.Loader
>   - loading entity: [com.xpn.xwiki.doc.XWikiDocument#-
> 4652072126019899209]
>
> 2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.j.AbstractBatcher
>   - about to open PreparedStatement (open PreparedStatements: 0,
> globally: 0)
>
> 2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
> bin/get/XWiki/DocumentTree?outputSyntax=plain=
> document%3Axwiki%3A2987218.WebHome=false=true&
> showTranslations=false=document%3Axwiki%3A2987218.
> WebHome=true=children=%23] DEBUG o.h.SQL
>   - select xwikidocum0_.XWD_ID as XWD1_0_0_, xwikidocum0_.XWD_FULLNAME
> as XWD2_0_0_, xwikidocum0_.XWD_NAME as XWD3_0_0_, xwikidocum0_.XWD_TITLE as
> XWD4_0_0_, xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
> xwikidocum0_.XWD_DEFAULT_LANGUAGE
> as XWD6_0_0_, xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_,
> xwikidocum0_.XWD_DATE as XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE
> as
> XWD9_0_0_, xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_,
> xwikidocum0_.XWD_AUTHOR as XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as
> XWD12_0_0_, xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
> XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
> xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
> XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
> xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
> XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
> xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_, xwikidocum0_.XWD_COMMENT
> as XWD23_0_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
> xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_,