[xwiki-users] [ANN] XWiki 8.0 Milestone 2 released

2016-02-22 Thread Eduard Moraru
The XWiki development team is proud to announce the availability of XWiki
8.0 Milestone 2.

This milestone improves some performance and caching issues of the LESS
module and continues improving and fixing usability aspects of Nested Pages.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80M2

The following people have contributed code to this release (sorted
alphabetically):

Alex Cotiuga
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Manuel Smeria
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] A tool to convert terminal pages to Nested Pages

2016-02-22 Thread Guillaume Delhumeau
Hello.

The version 0.3 has been released today.

The preferences and the rights of pages are now handled. So if you move a
page under an other one, causing different preferences or rights are
applied on that page, the tool will create preferences/rights on this page
to preserve the old settings.

You can test it there:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+Application

Feedback are welcome.

Next objective: apply the plan on the wiki!

Thanks,

Guillaume

2016-02-09 19:47 GMT+01:00 Guillaume Delhumeau <
guillaume.delhum...@xwiki.com>:

> Hello.
>
> Charlie, you might have experienced http://jira.xwiki.org/browse/NPMIG-11.
> The good news is that I've fixed it.
>
> Now, I am happy to announce that I have released the version 0.2.1 of the
> application. It brings some new features:
> - the plan computation is done asynchronously
> - the ability to set manually the parent of a document has been implemented
> - 2 converted pages cannot have the same target (no collision).
> - more cases are handled.
>
> More informations there:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+Application#Hv0.2.1
>
> Thanks,
>
> Guillaume
>
> 2016-02-02 15:27 GMT+01:00 Guillaume Delhumeau <
> guillaume.delhum...@xwiki.com>:
>
>> Hi Charlie, and thanks for your feedback.
>>
>> I was considering using a job and displaying a progress bar during the
>> computation of the plan. Your example shows that we need it :)
>>
>> 2016-02-01 22:09 GMT+01:00 Charlie Mann :
>>
>>> I tried this extension out on our test server where we are simulating
>>> upgrading from 7.1.2 to 7.4.  It looks like it will be a very helpful
>>> tool
>>> in converting to the new nested pages scheme.  One thing I did notice is
>>> that one of our wikis that had a lot of nested pages under a space would
>>> never show the migration plan.  It was as though it was frozen.
>>>
>>> Charlie
>>>
>>> -Original Message-
>>> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume
>>> Delhumeau
>>> Sent: Tuesday, January 26, 2016 2:43 AM
>>> To: XWiki Users 
>>> Subject: Re: [xwiki-users] A tool to convert terminal pages to Nested
>>> Pages
>>>
>>> No opinion ?
>>>
>>> Thanks,
>>>
>>> 2016-01-20 9:53 GMT+01:00 Guillaume "Louis-Marie" Delhumeau <
>>> gdelhum...@xwiki.com>:
>>>
>>> > Hello, users of XWiki!
>>> >
>>> > I just have released the first version (alpha) of a new application to
>>> > help you convert your existing (terminal) pages to nested pages after
>>> > an upgrade to a recent wiki (7.4.x is the targeted version).
>>> >
>>> > This tool is available and can be installed directly with Extension
>>> > Manager. All informations are there:
>>> >
>>> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migr
>>> > ator+Application
>>> >
>>> > The application *does not currently apply the migration*. It only
>>> > computes a plan which say what actions should be done. The purpose,
>>> > right now, is only to test the tool without affecting any wiki.
>>> >
>>> > There is an option to simply convert your pages to nested pages
>>> > (Space.Page => Space.Page.WebHome) so they can have children (which
>>> > they cannot while being terminal). But, by default, the migrator tries
>>> > to preserve the existing hierarchy of pages (based on the "parent"
>>> > field of each page) by moving the pages under their parent page. So if
>>> > you have SpaceA.PageA with SpaceB.PageB as parent, the proposed
>>> > migration will be SpaceA.PageA => SpaceB.PageB.PageA.WebHome.
>>> >
>>> > In the future, the plan will also contain actions for preserving the
>>> > configured preferences (right now, if a page is moved, all the
>>> > preferences from its previous space are not applied to it anymore), and
>>> rights.
>>> >
>>> > This version is a first step in order to have a very complete tool. A
>>> > design document have been written with more informations (
>>> > http://design.xwiki.org/xwiki/bin/view/Proposal/UpgradeToNestedPages).
>>> >
>>> > I would love to see some of you testing this application, the user
>>> > interface, and judging the proposed plans. Don't hesitate to give your
>>> > feedbacks. Please tell me if you have other ideas that I have not
>>> > listed in the design document, like features that I have not think
>>> about.
>>> >
>>> > Thanks a lot,
>>> > --
>>> > Guillaume Delhumeau (gdelhum...@xwiki.com) Research & Development
>>> > Engineer at XWiki SAS Committer on the XWiki.org project
>>> >
>>>
>>>
>>>
>>> --
>>> Guillaume Delhumeau (gdelhum...@xwiki.com)
>>> Research & Development Engineer at XWiki SAS
>>> Committer on the XWiki.org project
>>> ___
>>> 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
>>>
>>

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
What I can say from the error is that the character is in a document
content at least (not a title, or an object) but it does not help much
reduce the scope.

You could try to find it with a SQL request I guess, need to find how
to search this specific character in a SQL request.

On Mon, Feb 22, 2016 at 2:01 PM, Thomas Mortagne
 wrote:
> On Mon, Feb 22, 2016 at 12:46 PM, Peter John Acklam  
> wrote:
>> Avoiding this problem in the future would be nice, but I already have this
>> character in my wiki, and I need to get rid of it. I don't know how it got
>> there, but more importantly, I need to find it, so I can remove it. With no
>> XAR export, we can't do our planned transision from an Oracle to a
>> PostgreSQL database.
>>
>> As for the discussion on markmail.org – I have registered there, but I
>> can't find anything on the webpage that allows me to take part in the
>> discussion.
>
> Yes you can't write from markmail, was probably not the best link to give :)
>
> I think you can sent mails from nabble (through
> http://dev.xwiki.org/xwiki/bin/view/Community/Forum or
> http://xwiki.475771.n2.nabble.com/Should-we-move-to-XML-1-1-in-XAR-td7598066.html).
>
>>
>> Cheers,
>> Peter
>>
>>
>> 2016-02-22 12:15 GMT+01:00 Thomas Mortagne :
>>
>>> Starting a discussion on this subject on
>>> http://markmail.org/message/32vnzxchphr26phh.
>>>
>>> If you have more input on what is this character doing here please share
>>> there.
>>>
>>> On Mon, Feb 22, 2016 at 11:55 AM, Thomas Mortagne
>>>  wrote:
>>> > Actually I do know why it's writting XML 1.0, that's because we tell it
>>> to...
>>> >
>>> > Did not know XML 1.0 was not supporting anything, I'm surprise we get
>>> > this kind of report only know.
>>> >
>>> > Anyway thanks for the report, will take care of this.
>>> >
>>> > On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne
>>> >  wrote:
>>> >> What I understand from the error message is that Woodstox think it's
>>> >> writing XML 1.0 and looks like it's not possible to put anything you
>>> >> want in XML 1.0 but not sure why exactly. You happen to have a
>>> >> document containing some weird character (0x1) which is probably a
>>> >> mistake but still we should be able to export anything (especially
>>> >> when this anything can be stored in a String and in the database).
>>> >>
>>> >> In the meantime what you can try is to set the old exporter in
>>> >> xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
>>> >> Would be great if you could crate an issue on http://jira.xwiki.org
>>> >> with all the information you can gather about this bug.
>>> >>
>>> >>
>>> >> On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam 
>>> wrote:
>>> >>> I can no longer make a XAR export of our wiki. The essential error
>>> message
>>> >>> in catalina.out seems to be
>>> >>>
>>> >>> "Invalid white space character (0x1) in text to output (in xml 1.1,
>>> could
>>> >>> output as a character entity)"
>>> >>>
>>> >>> Alas, there is no information about which wiki page contains this
>>> invalid
>>> >>> character. I can, of course, export parts of the wiki and repeat the
>>> >>> process until I find the offending page, but I suspect there has got
>>> to be
>>> >>> a more efficient way.
>>> >>>
>>> >>> The full, relevant section of catalina.out on our test server is
>>> included
>>> >>> below.
>>> >>>
>>> >>> Thanks in advance for any tips!
>>> >>>
>>> >>> Cheers,
>>> >>> Peter John Acklam
>>> >>>
>>> >>>
>>> >>> 2016-02-19 09:36:17,163 [
>>> >>>
>>> http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export
>>> ]
>>> >>> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in
>>> 11:
>>> >>> Exception while exporting
>>> >>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
>>> >>> exporting
>>> >>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
>>> >>> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
>>> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>>> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> >>> at
>>> >>>
>>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>>> >>> [struts-core-1.3.10.jar:1.3.10]
>>> >>> at
>>> >>>
>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>>> >>> [struts-core-1.3.10.jar:1.3.10]
>>> >>> at
>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>>> >>> [struts-core-1.3.10.jar:1.3.10]
>>> >>> at
>>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>>> >>> [struts-core-1.3.10.jar:1.3.10]
>>> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
>>> >>> [servlet-api.jar:na]
>>> >>> at 

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread vinc...@massol.net
Hi Peter,

On 22 Feb 2016 at 12:46:33, Peter John Acklam 
(pjack...@gmail.com(mailto:pjack...@gmail.com)) wrote:

> Avoiding this problem in the future would be nice, but I already have this
> character in my wiki, and I need to get rid of it. I don't know how it got
> there, but more importantly, I need to find it, so I can remove it. With no
> XAR export, we can't do our planned transision from an Oracle to a
> PostgreSQL database.
>  
> As for the discussion on markmail.org – I have registered there, but I
> can't find anything on the webpage that allows me to take part in the
> discussion.

Just answering this part. Markmail is just an open archival of the xwiki 
mailing lists. You don’t need to register there (and it won’t do you any good 
to do so ;)).

The discussion you see on markmail are the one here on this list! ;)

If you wish to get an old message in your mail I guess you could use nabble 
(http://dev.xwiki.org/xwiki/bin/view/Community/Forum).

You could also ask for the list manager to get you the mail locally (we’re 
using mailman to manage the lists).

Thanks
-Vincent

> Cheers,
> Peter
>  
>  
> 2016-02-22 12:15 GMT+01:00 Thomas Mortagne :
>  
> > Starting a discussion on this subject on
> > http://markmail.org/message/32vnzxchphr26phh.
> >
> > If you have more input on what is this character doing here please share
> > there.
> >
> > On Mon, Feb 22, 2016 at 11:55 AM, Thomas Mortagne
> > wrote:
> > > Actually I do know why it's writting XML 1.0, that's because we tell it
> > to...
> > >
> > > Did not know XML 1.0 was not supporting anything, I'm surprise we get
> > > this kind of report only know.
> > >
> > > Anyway thanks for the report, will take care of this.
> > >
> > > On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne
> > > wrote:
> > >> What I understand from the error message is that Woodstox think it's
> > >> writing XML 1.0 and looks like it's not possible to put anything you
> > >> want in XML 1.0 but not sure why exactly. You happen to have a
> > >> document containing some weird character (0x1) which is probably a
> > >> mistake but still we should be able to export anything (especially
> > >> when this anything can be stored in a String and in the database).
> > >>
> > >> In the meantime what you can try is to set the old exporter in
> > >> xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
> > >> Would be great if you could crate an issue on http://jira.xwiki.org
> > >> with all the information you can gather about this bug.
> > >>
> > >>
> > >> On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam  
> > wrote:
> > >>> I can no longer make a XAR export of our wiki. The essential error
> > message
> > >>> in catalina.out seems to be
> > >>>
> > >>> "Invalid white space character (0x1) in text to output (in xml 1.1,
> > could
> > >>> output as a character entity)"
> > >>>
> > >>> Alas, there is no information about which wiki page contains this
> > invalid
> > >>> character. I can, of course, export parts of the wiki and repeat the
> > >>> process until I find the offending page, but I suspect there has got
> > to be
> > >>> a more efficient way.
> > >>>
> > >>> The full, relevant section of catalina.out on our test server is
> > included
> > >>> below.
> > >>>
> > >>> Thanks in advance for any tips!
> > >>>
> > >>> Cheers,
> > >>> Peter John Acklam
> > >>>
> > >>>
> > >>> 2016-02-19 09:36:17,163 [
> > >>>
> > http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin§ion=Export
> > ]
> > >>> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in
> > 11:
> > >>> Exception while exporting
> > >>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
> > >>> exporting
> > >>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
> > >>> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> > >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
> > >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> > >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
> > >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> > >>> at
> > >>>
> > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> > >>> [struts-core-1.3.10.jar:1.3.10]
> > >>> at
> > >>>
> > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> > >>> [struts-core-1.3.10.jar:1.3.10]
> > >>> at
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> > >>> [struts-core-1.3.10.jar:1.3.10]
> > >>> at
> > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> > >>> [struts-core-1.3.10.jar:1.3.10]
> > >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> > >>> [servlet-api.jar:na]
> > >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> > >>> [servlet-api.jar:na]
> > >>> at
> > >>>
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
> > >>> [catalina.jar:8.0.30]

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
On Mon, Feb 22, 2016 at 12:46 PM, Peter John Acklam  wrote:
> Avoiding this problem in the future would be nice, but I already have this
> character in my wiki, and I need to get rid of it. I don't know how it got
> there, but more importantly, I need to find it, so I can remove it. With no
> XAR export, we can't do our planned transision from an Oracle to a
> PostgreSQL database.
>
> As for the discussion on markmail.org – I have registered there, but I
> can't find anything on the webpage that allows me to take part in the
> discussion.

Yes you can't write from markmail, was probably not the best link to give :)

I think you can sent mails from nabble (through
http://dev.xwiki.org/xwiki/bin/view/Community/Forum or
http://xwiki.475771.n2.nabble.com/Should-we-move-to-XML-1-1-in-XAR-td7598066.html).

>
> Cheers,
> Peter
>
>
> 2016-02-22 12:15 GMT+01:00 Thomas Mortagne :
>
>> Starting a discussion on this subject on
>> http://markmail.org/message/32vnzxchphr26phh.
>>
>> If you have more input on what is this character doing here please share
>> there.
>>
>> On Mon, Feb 22, 2016 at 11:55 AM, Thomas Mortagne
>>  wrote:
>> > Actually I do know why it's writting XML 1.0, that's because we tell it
>> to...
>> >
>> > Did not know XML 1.0 was not supporting anything, I'm surprise we get
>> > this kind of report only know.
>> >
>> > Anyway thanks for the report, will take care of this.
>> >
>> > On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne
>> >  wrote:
>> >> What I understand from the error message is that Woodstox think it's
>> >> writing XML 1.0 and looks like it's not possible to put anything you
>> >> want in XML 1.0 but not sure why exactly. You happen to have a
>> >> document containing some weird character (0x1) which is probably a
>> >> mistake but still we should be able to export anything (especially
>> >> when this anything can be stored in a String and in the database).
>> >>
>> >> In the meantime what you can try is to set the old exporter in
>> >> xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
>> >> Would be great if you could crate an issue on http://jira.xwiki.org
>> >> with all the information you can gather about this bug.
>> >>
>> >>
>> >> On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam 
>> wrote:
>> >>> I can no longer make a XAR export of our wiki. The essential error
>> message
>> >>> in catalina.out seems to be
>> >>>
>> >>> "Invalid white space character (0x1) in text to output (in xml 1.1,
>> could
>> >>> output as a character entity)"
>> >>>
>> >>> Alas, there is no information about which wiki page contains this
>> invalid
>> >>> character. I can, of course, export parts of the wiki and repeat the
>> >>> process until I find the offending page, but I suspect there has got
>> to be
>> >>> a more efficient way.
>> >>>
>> >>> The full, relevant section of catalina.out on our test server is
>> included
>> >>> below.
>> >>>
>> >>> Thanks in advance for any tips!
>> >>>
>> >>> Cheers,
>> >>> Peter John Acklam
>> >>>
>> >>>
>> >>> 2016-02-19 09:36:17,163 [
>> >>>
>> http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export
>> ]
>> >>> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in
>> 11:
>> >>> Exception while exporting
>> >>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
>> >>> exporting
>> >>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
>> >>> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
>> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> >>> at
>> >>>
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>> >>> [struts-core-1.3.10.jar:1.3.10]
>> >>> at
>> >>>
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>> >>> [struts-core-1.3.10.jar:1.3.10]
>> >>> at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>> >>> [struts-core-1.3.10.jar:1.3.10]
>> >>> at
>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>> >>> [struts-core-1.3.10.jar:1.3.10]
>> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
>> >>> [servlet-api.jar:na]
>> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>> >>> [servlet-api.jar:na]
>> >>> at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
>> >>> [catalina.jar:8.0.30]
>> >>> at
>> >>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> >>> [catalina.jar:8.0.30]
>> >>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> >>> 

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Peter John Acklam
Avoiding this problem in the future would be nice, but I already have this
character in my wiki, and I need to get rid of it. I don't know how it got
there, but more importantly, I need to find it, so I can remove it. With no
XAR export, we can't do our planned transision from an Oracle to a
PostgreSQL database.

As for the discussion on markmail.org – I have registered there, but I
can't find anything on the webpage that allows me to take part in the
discussion.

Cheers,
Peter


2016-02-22 12:15 GMT+01:00 Thomas Mortagne :

> Starting a discussion on this subject on
> http://markmail.org/message/32vnzxchphr26phh.
>
> If you have more input on what is this character doing here please share
> there.
>
> On Mon, Feb 22, 2016 at 11:55 AM, Thomas Mortagne
>  wrote:
> > Actually I do know why it's writting XML 1.0, that's because we tell it
> to...
> >
> > Did not know XML 1.0 was not supporting anything, I'm surprise we get
> > this kind of report only know.
> >
> > Anyway thanks for the report, will take care of this.
> >
> > On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne
> >  wrote:
> >> What I understand from the error message is that Woodstox think it's
> >> writing XML 1.0 and looks like it's not possible to put anything you
> >> want in XML 1.0 but not sure why exactly. You happen to have a
> >> document containing some weird character (0x1) which is probably a
> >> mistake but still we should be able to export anything (especially
> >> when this anything can be stored in a String and in the database).
> >>
> >> In the meantime what you can try is to set the old exporter in
> >> xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
> >> Would be great if you could crate an issue on http://jira.xwiki.org
> >> with all the information you can gather about this bug.
> >>
> >>
> >> On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam 
> wrote:
> >>> I can no longer make a XAR export of our wiki. The essential error
> message
> >>> in catalina.out seems to be
> >>>
> >>> "Invalid white space character (0x1) in text to output (in xml 1.1,
> could
> >>> output as a character entity)"
> >>>
> >>> Alas, there is no information about which wiki page contains this
> invalid
> >>> character. I can, of course, export parts of the wiki and repeat the
> >>> process until I find the offending page, but I suspect there has got
> to be
> >>> a more efficient way.
> >>>
> >>> The full, relevant section of catalina.out on our test server is
> included
> >>> below.
> >>>
> >>> Thanks in advance for any tips!
> >>>
> >>> Cheers,
> >>> Peter John Acklam
> >>>
> >>>
> >>> 2016-02-19 09:36:17,163 [
> >>>
> http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export
> ]
> >>> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in
> 11:
> >>> Exception while exporting
> >>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
> >>> exporting
> >>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
> >>> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> >>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> >>> at
> >>>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> >>> [struts-core-1.3.10.jar:1.3.10]
> >>> at
> >>>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> >>> [struts-core-1.3.10.jar:1.3.10]
> >>> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> >>> [struts-core-1.3.10.jar:1.3.10]
> >>> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> >>> [struts-core-1.3.10.jar:1.3.10]
> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> >>> [servlet-api.jar:na]
> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> >>> [servlet-api.jar:na]
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
> >>> [catalina.jar:8.0.30]
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> [catalina.jar:8.0.30]
> >>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
> >>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> >>> [catalina.jar:8.0.30]
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> [catalina.jar:8.0.30]
> >>> at
> >>>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> >>> [xwiki-platform-wysiwyg-server-7.4.1.jar:na]
> >>> at
> >>>
> 

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
Starting a discussion on this subject on
http://markmail.org/message/32vnzxchphr26phh.

If you have more input on what is this character doing here please share there.

On Mon, Feb 22, 2016 at 11:55 AM, Thomas Mortagne
 wrote:
> Actually I do know why it's writting XML 1.0, that's because we tell it to...
>
> Did not know XML 1.0 was not supporting anything, I'm surprise we get
> this kind of report only know.
>
> Anyway thanks for the report, will take care of this.
>
> On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne
>  wrote:
>> What I understand from the error message is that Woodstox think it's
>> writing XML 1.0 and looks like it's not possible to put anything you
>> want in XML 1.0 but not sure why exactly. You happen to have a
>> document containing some weird character (0x1) which is probably a
>> mistake but still we should be able to export anything (especially
>> when this anything can be stored in a String and in the database).
>>
>> In the meantime what you can try is to set the old exporter in
>> xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
>> Would be great if you could crate an issue on http://jira.xwiki.org
>> with all the information you can gather about this bug.
>>
>>
>> On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam  
>> wrote:
>>> I can no longer make a XAR export of our wiki. The essential error message
>>> in catalina.out seems to be
>>>
>>> "Invalid white space character (0x1) in text to output (in xml 1.1, could
>>> output as a character entity)"
>>>
>>> Alas, there is no information about which wiki page contains this invalid
>>> character. I can, of course, export parts of the wiki and repeat the
>>> process until I find the offending page, but I suspect there has got to be
>>> a more efficient way.
>>>
>>> The full, relevant section of catalina.out on our test server is included
>>> below.
>>>
>>> Thanks in advance for any tips!
>>>
>>> Cheers,
>>> Peter John Acklam
>>>
>>>
>>> 2016-02-19 09:36:17,163 [
>>> http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export]
>>> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11:
>>> Exception while exporting
>>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
>>> exporting
>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
>>> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
>>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> at
>>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>>> [struts-core-1.3.10.jar:1.3.10]
>>> at
>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>>> [struts-core-1.3.10.jar:1.3.10]
>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>>> [struts-core-1.3.10.jar:1.3.10]
>>> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>>> [struts-core-1.3.10.jar:1.3.10]
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
>>> [servlet-api.jar:na]
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>>> [servlet-api.jar:na]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
>>> [catalina.jar:8.0.30]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina.jar:8.0.30]
>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>>> [catalina.jar:8.0.30]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina.jar:8.0.30]
>>> at
>>> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>>> [xwiki-platform-wysiwyg-server-7.4.1.jar:na]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>>> [catalina.jar:8.0.30]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina.jar:8.0.30]
>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>> [tomcat-websocket.jar:8.0.30]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>>> [catalina.jar:8.0.30]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina.jar:8.0.30]
>>> at
>>> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>>> [xwiki-platform-container-servlet-7.4.1.jar:na]
>>> at
>>> 

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
Actually I do know why it's writting XML 1.0, that's because we tell it to...

Did not know XML 1.0 was not supporting anything, I'm surprise we get
this kind of report only know.

Anyway thanks for the report, will take care of this.

On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne
 wrote:
> What I understand from the error message is that Woodstox think it's
> writing XML 1.0 and looks like it's not possible to put anything you
> want in XML 1.0 but not sure why exactly. You happen to have a
> document containing some weird character (0x1) which is probably a
> mistake but still we should be able to export anything (especially
> when this anything can be stored in a String and in the database).
>
> In the meantime what you can try is to set the old exporter in
> xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
> Would be great if you could crate an issue on http://jira.xwiki.org
> with all the information you can gather about this bug.
>
>
> On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam  
> wrote:
>> I can no longer make a XAR export of our wiki. The essential error message
>> in catalina.out seems to be
>>
>> "Invalid white space character (0x1) in text to output (in xml 1.1, could
>> output as a character entity)"
>>
>> Alas, there is no information about which wiki page contains this invalid
>> character. I can, of course, export parts of the wiki and repeat the
>> process until I find the offending page, but I suspect there has got to be
>> a more efficient way.
>>
>> The full, relevant section of catalina.out on our test server is included
>> below.
>>
>> Thanks in advance for any tips!
>>
>> Cheers,
>> Peter John Acklam
>>
>>
>> 2016-02-19 09:36:17,163 [
>> http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export]
>> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11:
>> Exception while exporting
>> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
>> exporting
>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
>> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> at
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>> [struts-core-1.3.10.jar:1.3.10]
>> at
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>> [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>> [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>> [struts-core-1.3.10.jar:1.3.10]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
>> [servlet-api.jar:na]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>> [servlet-api.jar:na]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
>> [catalina.jar:8.0.30]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina.jar:8.0.30]
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>> [catalina.jar:8.0.30]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina.jar:8.0.30]
>> at
>> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>> [xwiki-platform-wysiwyg-server-7.4.1.jar:na]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>> [catalina.jar:8.0.30]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina.jar:8.0.30]
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> [tomcat-websocket.jar:8.0.30]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>> [catalina.jar:8.0.30]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina.jar:8.0.30]
>> at
>> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>> [xwiki-platform-container-servlet-7.4.1.jar:na]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>> [catalina.jar:8.0.30]
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina.jar:8.0.30]
>> at
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>> [xwiki-platform-webdav-server-7.4.1.jar:na]
>> at

[xwiki-users] Help spread the word about XWiki - add your review!

2016-02-22 Thread Guillaume Lerouge
Hi users,

I'm trying new ways to spread the word about XWiki. One approach that seems
to be popular right now are review websites such as Getapp and G2Crowd. For
instance Drupal has a page on G2Crowd
, so I thought it could be
interesting to try it out too.

In order to see whether this could work well for XWiki, I have created a
page on G2Crowd: *https://www.g2crowd.com/products/xwiki/reviews
*

It would be very cool if you could spend a bit of time to add a review of
your experience with XWiki there!

Thanks and happy XWikiing,

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


Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
What I understand from the error message is that Woodstox think it's
writing XML 1.0 and looks like it's not possible to put anything you
want in XML 1.0 but not sure why exactly. You happen to have a
document containing some weird character (0x1) which is probably a
mistake but still we should be able to export anything (especially
when this anything can be stored in a String and in the database).

In the meantime what you can try is to set the old exporter in
xwiki.cfg (look at xwiki.action.export.xar.usewikistream property).
Would be great if you could crate an issue on http://jira.xwiki.org
with all the information you can gather about this bug.


On Mon, Feb 22, 2016 at 10:18 AM, Peter John Acklam  wrote:
> I can no longer make a XAR export of our wiki. The essential error message
> in catalina.out seems to be
>
> "Invalid white space character (0x1) in text to output (in xml 1.1, could
> output as a character entity)"
>
> Alas, there is no information about which wiki page contains this invalid
> character. I can, of course, export parts of the wiki and repeat the
> process until I find the offending page, but I suspect there has got to be
> a more efficient way.
>
> The full, relevant section of catalina.out on our test server is included
> below.
>
> Thanks in advance for any tips!
>
> Cheers,
> Peter John Acklam
>
>
> 2016-02-19 09:36:17,163 [
> http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export]
> WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11:
> Exception while exporting
> com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
> exporting
> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
> ~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> [struts-core-1.3.10.jar:1.3.10]
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> [struts-core-1.3.10.jar:1.3.10]
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> [struts-core-1.3.10.jar:1.3.10]
> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> [struts-core-1.3.10.jar:1.3.10]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> [servlet-api.jar:na]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> [servlet-api.jar:na]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
> [catalina.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina.jar:8.0.30]
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
> [xwiki-platform-legacy-oldcore-7.4.1.jar:na]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> [catalina.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina.jar:8.0.30]
> at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> [xwiki-platform-wysiwyg-server-7.4.1.jar:na]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> [catalina.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina.jar:8.0.30]
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> [tomcat-websocket.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> [catalina.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina.jar:8.0.30]
> at
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> [xwiki-platform-container-servlet-7.4.1.jar:na]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> [catalina.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina.jar:8.0.30]
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> [xwiki-platform-webdav-server-7.4.1.jar:na]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> [catalina.jar:8.0.30]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina.jar:8.0.30]
> at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> [xwiki-platform-container-servlet-7.4.1.jar:na]
> at
> 

Re: [xwiki-users] CKEditor v1.2

2016-02-22 Thread Thomas Mortagne
On Mon, Feb 22, 2016 at 10:13 AM, Bruno  wrote:
>
> Thank you for your answer Vincent.
>
> On your advice, I emptied the cache. But nothing changed.
>
> Perhaps my article contains something it does not like (it is a copied item
> from an old wiki software).
> However, I tested with another item imported from LibreOffice, the problem
> is the same.
>
> But with single article written by hand, it works.
>
> The common points between the two articles problematic is that they are long
> and they are imported.
>
> I don't have this problem whith the internal editor. The source code is
> displayed immediately with the two previous articles.

If you can reproduce this with a content you can safely share it would
be great to export the page as XAR and create a jira issue on
http://jira.xwiki.org/browse/CKEDITOR so that we can reproduce and
debug it.

>
> Signature mails
> _
>
> Bruno Joffredo
>
> Ecole Centrale de Nantes
>
> Centre de Ressources Informatiques - Bur. D019
>
> 1 rue de la Noë
>
> BP 92101
>
> F-44321 Nantes cedex 3
>
> Tél. 02.40.37.68.06
> Mail : bruno.joffr...@ec-nantes.fr 
> _
>
>
> Le 22/02/2016 09:40, vinc...@massol.net a écrit :
>>
>> Hi Bruno,
>>
>> On 22 Feb 2016 at 09:34:22, Bruno (bruno.joffr...@ec-nantes.fr) wrote:
>>
>>
>> Hello,
>>
>> I quickly tested the latest version of CKEditor. Here are my remarks :
>>
>> * when I push the "Source" button, nothing appears. On the button, the
>> loading sign turns without ever stopping
>> * the style "Marker" is invisible
>> * is it possible to add a button for "Typewriter Text" (useful for the
>> code or configuration files)
>> * the horizontal line is invisible
>> Please make extra sure you’ve fully cleared your browser cache and let us
>> know if it helps.
>>
>>
>> Thanks
>> -Vincent
>>
>> Bruno Joffredo
>>
>> ___
>> 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


Re: [xwiki-users] Server SQL error

2016-02-22 Thread Thomas Mortagne
The root cause is "Data truncation: Data too long for column
'XWS_VALUE' at row 1" which mean that some object in document
"SDomain.HW_DEV.0_LIB.Components-CommercialPC.Library
Description.WebHome" contain a short String field with a value longer
than 255 characters. The error does give enough information to know
which object or which field.

On Mon, Feb 22, 2016 at 7:38 AM, gervwyk  wrote:
> After importing a large number of spaces in my wiki, my server through the
> following error when browsing which causes browsing delays.
>
> 22016-02-19 17:11:04,982
> [http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-CommercialPC/Library+Description/]
> WARN  o.h.u.JDBCExceptionReporter- SQL Error: 1406, SQLState: 22001
> 2016-02-19 17:11:04,983
> [http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-CommercialPC/Library+Description/]
> ERROR o.h.u.JDBCExceptionReporter- Data truncation: Data too long for
> column 'XWS_VALUE' at row 1
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
> document xwiki:XWiki.Admin
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:658)
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:160)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1564)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1508)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1503)
> at
> org.xwiki.commons._CMP_WikiV3.script.PageBuilder.recentVisitedMiciUpdate(PageBuilder.java:2419)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
> at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
> at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
> at
> org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
> at
> org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
> at
> org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
> at
> org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
> at
> org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
> at
> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
> at
> org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
> at
> org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
> at
> org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
> at
> org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:126)
> at
> org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:56)
> at
> org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
> at
> org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
> at
> org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
> at
> org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
> at
> org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
> at
> org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
> at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
>   

[xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Peter John Acklam
I can no longer make a XAR export of our wiki. The essential error message
in catalina.out seems to be

"Invalid white space character (0x1) in text to output (in xml 1.1, could
output as a character entity)"

Alas, there is no information about which wiki page contains this invalid
character. I can, of course, export parts of the wiki and repeat the
process until I find the offending page, but I suspect there has got to be
a more efficient way.

The full, relevant section of catalina.out on our test server is included
below.

Thanks in advance for any tips!

Cheers,
Peter John Acklam


2016-02-19 09:36:17,163 [
http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin=Export]
WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11:
Exception while exporting
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
[struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[xwiki-platform-wysiwyg-server-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
[tomcat-websocket.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
[xwiki-platform-resource-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at

Re: [xwiki-users] CKEditor v1.2

2016-02-22 Thread vinc...@massol.net
Hi Bruno,

On 22 Feb 2016 at 09:34:22, Bruno (bruno.joffr...@ec-nantes.fr) wrote:


Hello,

I quickly tested the latest version of CKEditor. Here are my remarks :

* when I push the "Source" button, nothing appears. On the button, the
loading sign turns without ever stopping
* the style "Marker" is invisible
* is it possible to add a button for "Typewriter Text" (useful for the
code or configuration files)
* the horizontal line is invisible
Please make extra sure you’ve fully cleared your browser cache and let us know 
if it helps.


Thanks
-Vincent

Bruno Joffredo

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


[xwiki-users] CKEditor v1.2

2016-02-22 Thread Bruno


Hello,

I quickly tested the latest version of CKEditor. Here are my remarks :

 * when I push the "Source" button, nothing appears. On the button, the
   loading sign turns without ever stopping
 * the style "Marker" is invisible
 * is it possible to add a button for "Typewriter Text" (useful for the
   code or configuration files)
 * the horizontal line is invisible


Regards,

Signature mails
_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


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