[xwiki-users] The "zh" Chinese support in XWiki-7.3 is very bad.

2015-12-03 Thread KirbY ZhoU
1. The "tags" feature display a lot of jumbled text.
For example:
"运营" displays as "运营", if I click "运营", it becomes "运营", much 
worse.

2. The "Solr Search" feature display a log of jumbled text.
For example:
"表格" displays as "表格" in the search result page.
And of couse, it returns no hitted page, but it is actually appeared in the 
default "Sandbox" chinese page.

For example:

3. The Chinese Sandbox, incorrectly use ">" instead of ">" in wiki source 
text.

For example:
[[沙箱测试页面1>>Sandbox.TestPage1]]
Should be:
[[沙箱测试页面1>>Sandbox.TestPage1]]








___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Cannot deal with Chinese tags on XWiki-7.3

2015-12-03 Thread KirbY ZhoU
I create a new tag named "运营”
But, it displays just like rubbish, And I can not remove it nor rename it.

I think the problem is in "tag=è¿%C2%90è%C2%90¥" encodings.
If I manually input the URL with "tag=运营", the actions goes well, but display 
still be bad.

…/xwiki/bin/view/Main/Tags?do=viewTag&tag=è¿%C2%90è%C2%90¥

…/xwiki/bin/view/Main/Tags?do=viewTag&tag=运营

The expected display should be like below:

My browser is Safara 9.0.1 under Mac.








___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [Survey] Feedback about XWiki and future features

2015-12-03 Thread vinc...@massol.net
Thanks to everyone to answered and to Silvia for leading this survey! :)

We got some useful results. Always interesting to know the user’s pain points.

Thanks
-Vincent

PS: I sent this mail on the 21st of November but I’ve just found out that it 
wasn’t sent and was in my draft mailbox...
On 21 Nov 2015 at 16:41:28, Silvia Macovei (silvia.maco...@xwiki.com) wrote:

Hi everyone,  

Thanks a lot to the 21 people who filled in the survey! In this post you  
can find a summary of the results, with some interesting ideas on things to  
implement in the future:  

http://www.xwiki.org/xwiki/bin/view/Blog/ProductSatisfactionSurvey2015Results  

Now XWiki developers can look at the list when deciding/discussing what  
features/items to implement in 8.x and beyond. In a year or so we could do  
a postmortem to see what has been implemented.  

Thanks,  
Silvia  

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Document Tree set Root to Current page

2015-12-03 Thread britincanada
Hey, 

A very new user to xWiki, I would like to add navigation of child sub-pages
to the currently viewed page. It appears that the Document Tree macro is
what I need, though I don't know what I should be putting in the root
property to use the current page. 

I was going to add this to a template, so the page is going to be different
every time. 

any help would be great. 

thanks



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Document-Tree-set-Root-to-Current-page-tp7597083.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Export to PDF java.lang.NullPointerException on some pages (possibly if images are too big)

2015-12-03 Thread Thomas Mortagne
Upgrade done.

But not sure if it fix you issues since I can't find a way to
reproduce it. If it's possible to you to provide on
http://jira.xwiki.org/browse/XWIKI-8274 a XAR with a wiki page on
which you have to issue that would be great.

On Thu, Dec 3, 2015 at 9:11 AM, Thomas Mortagne
 wrote:
> On Wed, Dec 2, 2015 at 5:42 PM,   wrote:
>> Ok, thanks
>>
>> I see that there is a reference to
>> http://jira.xwiki.org/browse/XWIKI-12871
>>
>> Is it really an objective of the 7.4 or might it be moved to another later
>> release ?
>
> Currently looking at it but no promise for 7.4 (this is not a small
> move and it was not exactly part of the roadmap).
>
>>
>> Can I do about it beside waiting for 7.4 to be released ? Can I upgrade a
>> component myself as a workaround ?
>
> Not it this case since FOP 2.0 broke a few APIs used by XWiki as far
> as I can see.
>
>>
>> Regards
>>
>>
>>
>> De :Thomas Mortagne 
>> A : XWiki Users 
>> Date :  02/12/2015 10:18
>> Objet : Re: [xwiki-users] Export to PDF java.lang.NullPointerException on
>> some pages (possibly if images are too big)
>> Envoyé par :"users" 
>>
>>
>>
>> Looks like http://jira.xwiki.org/browse/XWIKI-8274. From what I
>> understand the image format is too recent for the old FOP 1.1 version
>> we are still using.
>>
>> On Wed, Dec 2, 2015 at 10:02 AM,   wrote:
>>> When trying to export PDF some (not all) page of my XWiki 7.2, I get an
>>> error in the log and the PDF is never generated. HTML export works fine.
>>>
>>> Here are the first lines from the error :
>>>
>>> Dec  2 09:37:07 xwiki01 server: java.lang.NullPointerException:
>> Parameter
>>> alpha must not be null
>>> Dec  2 09:37:07 xwiki01 server: at
>>> org.apache.fop.pdf.AlphaRasterImage.(AlphaRasterImage.java:57)
>>> ~[fop-1.1.jar:na]
>>> Dec  2 09:37:07 xwiki01 server: at
>>> org.apache.fop.pdf.AlphaRasterImage.(AlphaRasterImage.java:71)
>>> ~[fop-1.1.jar:na]
>>> Dec  2 09:37:07 xwiki01 server: at
>>>
>> org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:127)
>>> ~[fop-1.1.jar:na]
>>> Dec  2 09:37:07 xwiki01 server: at
>>> org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:816)
>>> ~[fop-1.1.jar:na]
>>> Dec  2 09:37:07 xwiki01 server: at
>>>
>> org.apache.fop.render.pdf.AbstractPDFImageHandler.handleImage(AbstractPDFImageHandler.java:46)
>>> ~[fop-1.1.jar:na]
>>>
>>> I can't say for sure that the size of the images in those pages is the
>>> cause of the export failure, but just before the stacktrace, I get a few
>>> WARN
>>>
>>> Dec  2 09:37:06 xwiki01 server: 2015-12-02 09:37:06,773 [
>>>
>> http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manuel+d%27utilisation/WebHome?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0
>>
>>> ] WARN  o.a.f.a.FOUserAgent - Line 1 of a paragraph overflows the
>>> available area by 9000 millipoints. (See position 26:14146)
>>> Dec  2 09:37:07 xwiki01 server: 2015-12-02 09:37:07,104 [
>>>
>> http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manuel+d%27utilisation/WebHome?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0
>>
>>> ] ERROR o.a.f.a.FOUserAgent - Error while rendering page 3. Reason:
>>> java.lang.NullPointerException: Parameter alpha must not be null
>>> Dec  2 09:37:07 xwiki01 server: java.lang.NullPointerException:
>> Parameter
>>> alpha must not be null
>>>
>>> Have you already seen this problem? I think I've found similar issues
>> but
>>> for version 4.X back in 2012, though it was about "bad" PNG images then.
>>>
>>> Regards,
>>> Denis GERMAIN
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWQL unclear

2015-12-03 Thread Gerritjan Koekkoek
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while 
hibernate execute
at 
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305)
at 
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
at 
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:90)
... 147 more
Caused by: org.hibernate.QueryException: could not resolve property: street of: 
com.xpn.xwiki.objects.BaseObject [ select doc.fullName from 
com.xpn.xwiki.doc.XWikiDocument as doc , com.xpn.xwiki.objects.BaseObject as 
ttt where ( ttt.street = 'Burchtenlaan 97' ) and doc.fullName=ttt.name and 
ttt.className='CdlsatdCode.CdLS_ATD_UserProfileClass' ]



I have XWQL statement that throws this error?


But double checking I can not find why it states that 'street' is a property it 
can not solve?

#set($supportgroupQry = "from doc.object(CdlsatdCode.CdLS_ATD_UserProfileClass) 
as ttt where ttt.street = 'Burchtenlaan 97'")

$services.query.xwql($supportgroupQry).execute()


The class:

CdLS_ATD_UserProfileClass

Class properties

Street Address (street: String)

City (city: String)

State (state: String)

Postal Code (postalCode: String)

Country (country: String)

Telephone (telephone: String)

cdlsPersonName (cdlsPersonName: String)

Date of Birth (cdlspersonDOB: Date)

Height (cdlspersonHeight: String)

measureHeight (measureHeight: Static List)

Weight (cdlspersonWeight: String)

measureWeight (measureWeight: Static List)

Current Medication (currentMedication: TextArea)

Your relationship with this person (cdlspersonRelation: String)

contextUsr (contextUsr: String)

Allowance for visibility of profile (visible: Boolean)

Open to be contacted by other members (contact: Boolean)

supportGroup (supportGroup: Database List)

gender (gender: Static List)

socialStatus (socialStatus: String)

cdlsPersonAvatar (avatar: String)



Gerritjan Koekkoek



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Export to PDF java.lang.NullPointerException on some pages (possibly if images are too big)

2015-12-03 Thread Thomas Mortagne
On Wed, Dec 2, 2015 at 5:42 PM,   wrote:
> Ok, thanks
>
> I see that there is a reference to
> http://jira.xwiki.org/browse/XWIKI-12871
>
> Is it really an objective of the 7.4 or might it be moved to another later
> release ?

Currently looking at it but no promise for 7.4 (this is not a small
move and it was not exactly part of the roadmap).

>
> Can I do about it beside waiting for 7.4 to be released ? Can I upgrade a
> component myself as a workaround ?

Not it this case since FOP 2.0 broke a few APIs used by XWiki as far
as I can see.

>
> Regards
>
>
>
> De :Thomas Mortagne 
> A : XWiki Users 
> Date :  02/12/2015 10:18
> Objet : Re: [xwiki-users] Export to PDF java.lang.NullPointerException on
> some pages (possibly if images are too big)
> Envoyé par :"users" 
>
>
>
> Looks like http://jira.xwiki.org/browse/XWIKI-8274. From what I
> understand the image format is too recent for the old FOP 1.1 version
> we are still using.
>
> On Wed, Dec 2, 2015 at 10:02 AM,   wrote:
>> When trying to export PDF some (not all) page of my XWiki 7.2, I get an
>> error in the log and the PDF is never generated. HTML export works fine.
>>
>> Here are the first lines from the error :
>>
>> Dec  2 09:37:07 xwiki01 server: java.lang.NullPointerException:
> Parameter
>> alpha must not be null
>> Dec  2 09:37:07 xwiki01 server: at
>> org.apache.fop.pdf.AlphaRasterImage.(AlphaRasterImage.java:57)
>> ~[fop-1.1.jar:na]
>> Dec  2 09:37:07 xwiki01 server: at
>> org.apache.fop.pdf.AlphaRasterImage.(AlphaRasterImage.java:71)
>> ~[fop-1.1.jar:na]
>> Dec  2 09:37:07 xwiki01 server: at
>>
> org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:127)
>> ~[fop-1.1.jar:na]
>> Dec  2 09:37:07 xwiki01 server: at
>> org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:816)
>> ~[fop-1.1.jar:na]
>> Dec  2 09:37:07 xwiki01 server: at
>>
> org.apache.fop.render.pdf.AbstractPDFImageHandler.handleImage(AbstractPDFImageHandler.java:46)
>> ~[fop-1.1.jar:na]
>>
>> I can't say for sure that the size of the images in those pages is the
>> cause of the export failure, but just before the stacktrace, I get a few
>> WARN
>>
>> Dec  2 09:37:06 xwiki01 server: 2015-12-02 09:37:06,773 [
>>
> http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manuel+d%27utilisation/WebHome?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0
>
>> ] WARN  o.a.f.a.FOUserAgent - Line 1 of a paragraph overflows the
>> available area by 9000 millipoints. (See position 26:14146)
>> Dec  2 09:37:07 xwiki01 server: 2015-12-02 09:37:07,104 [
>>
> http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manuel+d%27utilisation/WebHome?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0
>
>> ] ERROR o.a.f.a.FOUserAgent - Error while rendering page 3. Reason:
>> java.lang.NullPointerException: Parameter alpha must not be null
>> Dec  2 09:37:07 xwiki01 server: java.lang.NullPointerException:
> Parameter
>> alpha must not be null
>>
>> Have you already seen this problem? I think I've found similar issues
> but
>> for version 4.X back in 2012, though it was about "bad" PNG images then.
>>
>> Regards,
>> Denis GERMAIN
>>
>>
>>
>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users