[xwiki-users] Problem with delete group page with 4000+ members

2016-04-20 Thread aleksey-s
Hi! 

When I try to delete group page with 4000+ members then I see error below.
I resolve this error with attached files by disable version control, but I
don't know how resolve it in this case.

 -Xms512m -Xmx6144m -XX:MaxPermSize=256m 

I tried increase Xmx to 14000m, but not helped



Error number 0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:435)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
at
java.util.concurrent.

[xwiki-users] java.lang.RuntimeException: Component manager has not been initialized before lookup

2016-04-20 Thread Matthias Albert
Hi,

starting a few days ago, our XWiki application isn't running anymore.
After restarting Tomcat, the following Stacktrace is shown. The XWiki
version is 5.2.1. The logfiles mostly also show this stacktrace.

Any help is welcome, thank you in advance.
Matthias


javax.servlet.ServletException: java.lang.RuntimeException: Component
manager has not been initialized before lookup for
[org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String
>] for hint [currentmixed]

org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)

com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)

root cause

java.lang.RuntimeException: Component manager has not been initialized
before lookup for [org.xwiki.model.reference.DocumentReferenceResolver<
java.lang.String >] for hint [currentmixed]
com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
com.xpn.xwiki.XWikiContext.(XWikiContext.java:151)
com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)

com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:426)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)

com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)

-- 
Matthias Albert
Rastatter Straße 26
76199 Karlsruhe
Tel. +49 (0)721 885744
Email: matthias.alb...@posteo.de

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


[xwiki-users] Date format in FAQ application

2016-04-20 Thread Ryszard Łach
Hi, again.

How can I correct date format (to include leading zeros) in faq application? I 
suppose, that changing the default language of my wiki to 'pl' has broken the 
format and now 'Creation date' in list of faq entries looks like '2016-04-15 
09:6:34' .

TIA,

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


Re: [xwiki-users] Hide Harder-Bar on Login-Screen

2016-04-20 Thread Matthias Wegner
Haha, that's it. Thank you. Regards, Matthias

Am 18.04.2016 um 10:31 schrieb Marius Dumitru Florea [via XWiki]:
> On Sat, Apr 16, 2016 at 9:46 PM, Matthias Wegner <[hidden email] 
> >
> wrote:
>
> > Hi Users,
> >
> > i want to hide the header bar on the login screen and marked for that
> >
> > ###template("startpage.vm")
> >
> > out in login.vm. Then i restart the server. But nothing changed. I 
> cleared
> > the browser cache but this is not the problem.
> >
> > Is this not the right place?
> >
>
> Are you editing skins/flamingo/login.vm ?
>
>
> >
> > Regards,
> > Matthias
> >
> >
> >
> > --
> > View this message in context:
> > 
> http://xwiki.475771.n2.nabble.com/Hide-Harder-Bar-on-Login-Screen-tp7599022.html
> > Sent from the XWiki- Users mailing list archive at Nabble.com.
> > ___
> > users mailing list
> > [hidden email] 
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> [hidden email] 
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> 
> If you reply to this email, your message will be added to the 
> discussion below:
> http://xwiki.475771.n2.nabble.com/Hide-Harder-Bar-on-Login-Screen-tp7599022p7599031.html
>  
>
> To unsubscribe from Hide Harder-Bar on Login-Screen, click here 
> .
> NAML 
> 
>  
>





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Hide-Harder-Bar-on-Login-Screen-tp7599022p7599112.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] Printable Index

2016-04-20 Thread Daniel Ullfig
ok, I traced the problem to PlantUML. I have several diagrams in the manual, 
and every page with a diagram does not export right. But it's my fault, I 
have been modifying the macro to output SVG images instead of PNG images, so 
that I can embed clickable links in them. I rolled back the macro to "as 
installed" and all is well. I will have to discover how I'm braking pdf 
export with my changes. Can PDF export handle SVG images?


Dan

-Original Message- 
From: Daniel Ullfig

Sent: Wednesday, April 20, 2016 10:13 AM
To: XWiki Users
Subject: Re: [xwiki-users] Printable Index

darn. there seems to be a bug when exporting in chrome. I checked exporting
in IE, and it worked fine. But in chrome it seemed to display gibberish to
the screen. So I saved the gibberish to a text file, and started doing some
detective work. Comparing side by side the outputs of both IE and Chrome, I
have discovered the following:

In chrome, all ">>" are being replaced by ">>" and all "<<" are being
replaced by "<<"

The problem does not seem to be Chrome, as I can display the output produced
in IE in Chrome. Is XWiki detecting the browser and somehow changing the
output?

Dan

-Original Message- 
From: Marius Dumitru Florea

Sent: Wednesday, April 20, 2016 5:05 AM
To: XWiki Users
Subject: Re: [xwiki-users] Printable Index

Hi Dan,

When you export a page as PDF you have the option to include a "Table of
Contents" ("List headings at the beginning of the PDF document, usually
right after the cover page."). The generated Table of Contents shows the
page numbers (where each section is located). See
http://platform.xwiki.org/xwiki/bin/view/Features/Exports . Is that what
you need?

Hope this helps,
Marius

On Wed, Apr 20, 2016 at 8:02 AM, dullfig  wrote:


So I am writing this Quality Manual using XWiki; The main manual is one
page,
has many headings, and a TOC. There's also a bunch of supporting
procedures,
all linked to one another, and the system is really slick

The problem is, we sometimes need to hand out hard printed copies of the
manual to source inspectors to take with them. So when I go to print the
manual, I want to include an Index with page numbers like in a book. Is
there a way to do that?

Dan.



--
View this message in context:
http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082.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


___
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 



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


Re: [xwiki-users] Printable Index

2016-04-20 Thread Daniel Ullfig
darn. there seems to be a bug when exporting in chrome. I checked exporting 
in IE, and it worked fine. But in chrome it seemed to display gibberish to 
the screen. So I saved the gibberish to a text file, and started doing some 
detective work. Comparing side by side the outputs of both IE and Chrome, I 
have discovered the following:


In chrome, all ">>" are being replaced by ">>" and all "<<" are being 
replaced by "<<"


The problem does not seem to be Chrome, as I can display the output produced 
in IE in Chrome. Is XWiki detecting the browser and somehow changing the 
output?


Dan

-Original Message- 
From: Marius Dumitru Florea

Sent: Wednesday, April 20, 2016 5:05 AM
To: XWiki Users
Subject: Re: [xwiki-users] Printable Index

Hi Dan,

When you export a page as PDF you have the option to include a "Table of
Contents" ("List headings at the beginning of the PDF document, usually
right after the cover page."). The generated Table of Contents shows the
page numbers (where each section is located). See
http://platform.xwiki.org/xwiki/bin/view/Features/Exports . Is that what
you need?

Hope this helps,
Marius

On Wed, Apr 20, 2016 at 8:02 AM, dullfig  wrote:


So I am writing this Quality Manual using XWiki; The main manual is one
page,
has many headings, and a TOC. There's also a bunch of supporting
procedures,
all linked to one another, and the system is really slick

The problem is, we sometimes need to hand out hard printed copies of the
manual to source inspectors to take with them. So when I go to print the
manual, I want to include an Index with page numbers like in a book. Is
there a way to do that?

Dan.



--
View this message in context:
http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082.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


___
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] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Thomas Mortagne
This is still refactoring concept even if it might not appear in the
rename UI :)

Such a listener would probably make more sense in the refactoring module.

On Wed, Apr 20, 2016 at 5:37 PM, Eduard Moraru  wrote:
> Not sure refactoring is the right place.
>
> IMO, it should be generically handled by some listener for moving any
> document having a class inside it (and fixing all the objects). But for
> that we would first need to have a DocumentRenam(ing/ed)Event being
> triggered by the rename operation(s).
>
> Thanks,
> Eduard
>
> On Wed, Apr 20, 2016 at 9:43 AM, Thomas Mortagne 
> wrote:
>
>> The main issue is probably that moving a class is not that simple
>> right now, when you move the class defining all the application
>> entries they all end up broken (they keep referencing the old class
>> location). We need to add support for it in the refactoring module.
>>
>> On Tue, Apr 19, 2016 at 10:21 PM, Vincent Massol 
>> wrote:
>> > Hi,
>> >
>> >> On 19 Apr 2016, at 22:02, Ryszard Łach  wrote:
>> >>
>> >> Hi.
>> >>
>> >> Is there a way to migrate (xwiki 7.2.4) an application created via
>> AppWithinMInutes to another node in the same wiki tree, with all documents
>> created by the app ? The easy way (move parent document with all children)
>> doesn't seem to work.
>> >
>> > AWM creates the app in a space (2 spaces before 7.3/7.4 and a single
>> space after) so if you move those spaces it should work fine.
>> >
>> > If not then it’s a bug IMO.
>> >
>> > Thanks
>> > -Vincent
>> >
>> >> TIA,
>> >>
>> >> R.
>> >
>> > ___
>> > 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


Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Thomas Mortagne
On Wed, Apr 20, 2016 at 5:45 PM, Sebastian Schabbach
 wrote:
> Okay,
>
> only to ensure what is going on. I am right that all extentions are listeted 
> in the 'installed extentions' list I can find on the wiki administrations 
> page.
>
> I would like to check your assumptions against our wiki installation. So I 
> guess if the addons are installed, I must found them in that list (Groovy 
> console and colibri skin)?
> As I do not find any match on that, I guess these extentions are not 
> installed. I am right?

Yes and no. Anything installed trough Extension Manager will be listed
as installed extension. But it's not the only way to install
extensions (it's just the clean way): XAR extensions can be imported
as any plain XAR and JAR extensions can be put in WEB-INF/lib for
example.

>
> About your words to update at 8.0: Currently I can see the Flamingo Theme 
> Application is installed, so that should not cause any problems?
>
> Regards,
> Sebastian.
>
> -Ursprüngliche Nachricht-
> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Eduard Moraru
> Gesendet: Mittwoch, 20. April 2016 17:30
> An: XWiki Users 
> Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to 
> version 7.4.2
>
> Hi, Sebastian,
>
> Not entirely related to this topic, but I also notice from those logs that 
> you seem to be using the colibri skin in 7.4.
>
> Note that in 8.0 we have officially deprecated the Colibri skin and, since 
> you are doing the upgrade, you should start looking at the Flamingo skin 
> instead (to avoid possible issues that Colibri might have).
>
> Hope this helps,
> Eduard
>
> On Wed, Apr 20, 2016 at 5:05 PM, Thomas Mortagne 
> wrote:
>
>> Indeed the documentation of
>>
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Ap
>> plication
>> does talk about a XWiki.Xuake page.
>>
>> On Wed, Apr 20, 2016 at 3:44 PM, Hamster  wrote:
>> > It seems to be a part of...
>> >
>> >
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Ap
>> plication
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-mi
>> gration-to-version-7-4-2-tp7599063p7599097.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
>>
>>
>>
>> --
>> 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
> ___
> 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] Printable Index

2016-04-20 Thread dullfig
Yes! this is probably what I need. I will have to test. I see it is possible to 
export directly from a program, correct? in other words, no user involvment.

Dan

From: Marius Dumitru Florea [via XWiki] 
Sent: Wednesday, April 20, 2016 5:05 AM
To: dullfig 
Subject: Re: Printable Index

Hi Dan, 

When you export a page as PDF you have the option to include a "Table of 
Contents" ("List headings at the beginning of the PDF document, usually 
right after the cover page."). The generated Table of Contents shows the 
page numbers (where each section is located). See 
http://platform.xwiki.org/xwiki/bin/view/Features/Exports . Is that what 
you need? 

Hope this helps, 
Marius 

On Wed, Apr 20, 2016 at 8:02 AM, dullfig <[hidden email]> wrote: 


> So I am writing this Quality Manual using XWiki; The main manual is one 
> page, 
> has many headings, and a TOC. There's also a bunch of supporting 
> procedures, 
> all linked to one another, and the system is really slick 
> 
> The problem is, we sometimes need to hand out hard printed copies of the 
> manual to source inspectors to take with them. So when I go to print the 
> manual, I want to include an Index with page numbers like in a book. Is 
> there a way to do that? 
> 
> Dan. 
> 
> 
> 
> -- 
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082.html
> Sent from the XWiki- Users mailing list archive at Nabble.com. 
> ___ 
> users mailing list 
> [hidden email] 
> http://lists.xwiki.org/mailman/listinfo/users
> 
___ 
users mailing list 
[hidden email] 
http://lists.xwiki.org/mailman/listinfo/users





If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082p7599092.html 
To unsubscribe from Printable Index, click here.
NAML



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082p7599107.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] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Sebastian Schabbach
Okay, 

only to ensure what is going on. I am right that all extentions are listeted in 
the 'installed extentions' list I can find on the wiki administrations page. 

I would like to check your assumptions against our wiki installation. So I 
guess if the addons are installed, I must found them in that list (Groovy 
console and colibri skin)?
As I do not find any match on that, I guess these extentions are not installed. 
I am right?

About your words to update at 8.0: Currently I can see the Flamingo Theme 
Application is installed, so that should not cause any problems?

Regards, 
Sebastian.

-Ursprüngliche Nachricht-
Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Eduard Moraru
Gesendet: Mittwoch, 20. April 2016 17:30
An: XWiki Users 
Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to 
version 7.4.2

Hi, Sebastian,

Not entirely related to this topic, but I also notice from those logs that you 
seem to be using the colibri skin in 7.4.

Note that in 8.0 we have officially deprecated the Colibri skin and, since you 
are doing the upgrade, you should start looking at the Flamingo skin instead 
(to avoid possible issues that Colibri might have).

Hope this helps,
Eduard

On Wed, Apr 20, 2016 at 5:05 PM, Thomas Mortagne 
wrote:

> Indeed the documentation of
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Ap
> plication
> does talk about a XWiki.Xuake page.
>
> On Wed, Apr 20, 2016 at 3:44 PM, Hamster  wrote:
> > It seems to be a part of...
> >
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Ap
> plication
> >
> >
> >
> >
> > --
> > View this message in context:
> http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-mi
> gration-to-version-7-4-2-tp7599063p7599097.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
>
>
>
> --
> 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Parsing external JSON with Velocity in XWiki

2016-04-20 Thread Mahomed Hussein
Thanks for the quick response. I had looked at the VelocityTools page several 
times before posting. Unfortunately it wasn't very useful to me as a beginner 
as there weren't any examples of how to use it (and I couldn't deduce the 
syntax and requirements from looking at the source of the tools).

Anyway, this page may have a groovy example that might work for me. I just 
haven't had the time to test it today (and it seems the need to read the JSON 
may now been cancelled anyway) - 
http://extensions.xwiki.org/xwiki/bin/view/Extension/GitHub+Integration

Thanks again for the help.


Kind regards,




Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol
Sent: 19 April 2016 18:38
To: XWiki Users 
Subject: Re: [xwiki-users] Parsing external JSON with Velocity in XWiki


> On 19 Apr 2016, at 19:18, Mahomed Hussein  wrote:
>
> Hi
>
> I started off on something I thought would be simple, but my limited 
> knowledge is failing me and Google isn’t bringing up anything useful.
>
> Basically, I have a url that returns JSON content (for the sake of this 
> example – assume the url is https://status.com/api/status.json)
> The content returned by the URL is:
>
> {"page":{"id":"9jyl5nk7mszv","name":"Custodian 
> DataCentres","url":"http://status.custdc.net","updated_at":"2016-04-19T15:45:36.626+01:00"},"status":{"indicator":"none","description":"All
>  Systems Operational"}}
>
> What I wanted to do was to simply read that JSON and then process the values 
> and possibly output something like:
>
> Status: All Systems Operational
> Last Update: 2016-04-19T15:45:36
>
> So far I have managed to get the URL content with:
>
> {{velocity}}
> #set($jsoncontent = 
> $xwiki.getURLContent(‘https://status.com/api/status.json’))
> $jsoncontent
> {{/velocity}}
>
> This is where I get stuck. How do I get the $jsonconent into an array or 
> somehow read the values?

There’s a $jsontool you can use in velocity, see 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Velocity+Module#HVelocityTools

Otherwise you can also use groovy instead which supports reading and parsing 
JSON by default. Several examples are on extensions.xwiki.org.

Thanks
-Vincent


> Apologies for the basic question, but I hope someone can either point me in 
> the right direction or provide an example I can work from. Thanks.
>
>
> Kind regards,
>
>
> Mahomed Hussein
> Custodian Data Centre
___
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] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Eduard Moraru
Not sure refactoring is the right place.

IMO, it should be generically handled by some listener for moving any
document having a class inside it (and fixing all the objects). But for
that we would first need to have a DocumentRenam(ing/ed)Event being
triggered by the rename operation(s).

Thanks,
Eduard

On Wed, Apr 20, 2016 at 9:43 AM, Thomas Mortagne 
wrote:

> The main issue is probably that moving a class is not that simple
> right now, when you move the class defining all the application
> entries they all end up broken (they keep referencing the old class
> location). We need to add support for it in the refactoring module.
>
> On Tue, Apr 19, 2016 at 10:21 PM, Vincent Massol 
> wrote:
> > Hi,
> >
> >> On 19 Apr 2016, at 22:02, Ryszard Łach  wrote:
> >>
> >> Hi.
> >>
> >> Is there a way to migrate (xwiki 7.2.4) an application created via
> AppWithinMInutes to another node in the same wiki tree, with all documents
> created by the app ? The easy way (move parent document with all children)
> doesn't seem to work.
> >
> > AWM creates the app in a space (2 spaces before 7.3/7.4 and a single
> space after) so if you move those spaces it should work fine.
> >
> > If not then it’s a bug IMO.
> >
> > Thanks
> > -Vincent
> >
> >> TIA,
> >>
> >> R.
> >
> > ___
> > 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


Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Eduard Moraru
Hi, Sebastian,

Not entirely related to this topic, but I also notice from those logs that
you seem to be using the colibri skin in 7.4.

Note that in 8.0 we have officially deprecated the Colibri skin and, since
you are doing the upgrade, you should start looking at the Flamingo skin
instead (to avoid possible issues that Colibri might have).

Hope this helps,
Eduard

On Wed, Apr 20, 2016 at 5:05 PM, Thomas Mortagne 
wrote:

> Indeed the documentation of
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application
> does talk about a XWiki.Xuake page.
>
> On Wed, Apr 20, 2016 at 3:44 PM, Hamster  wrote:
> > It seems to be a part of...
> >
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application
> >
> >
> >
> >
> > --
> > View this message in context:
> http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-migration-to-version-7-4-2-tp7599063p7599097.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
>
>
>
> --
> 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


Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Mortagne
You can also look at
http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro for more
details.

On Wed, Apr 20, 2016 at 3:54 PM, Eduard Moraru  wrote:
> Hi,
>
> You could look at a very simple "userAvatar" macro for inspiration:
> https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-useravatar
>
> Normally, you should:
> - extend org.xwiki.rendering.macro.AbstractMacro,
> - mark your implementation as an XWiki component (@Component) and give it a
> name (@Named("colour")),
> - register your component in your module's
> main/resources/META-INF/components.txt,
> - build and install your jar in your app's classpath,
> - execute your macro (
> http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExecuteMacros
> ).
>
> Hope this helps,
> Eduard
>
> On Wed, Apr 20, 2016 at 10:51 AM, Thomas Wendel 
> wrote:
>
>> Hi,
>>
>> I am evaluating the XWiki Rendering Framework for a project of ours.
>>
>> It was no problem to create a little POC to render some sample XWiki syntax
>> into HTML. Next I tried to write a little colour macro that simply renders
>> some text in a colour which is specified as a macro parameter. However, I
>> did not manage to get the macro executed. In the resulting HTML output I
>> get the error message:
>>
>> Unknown macro: colour.The "colour" macro is not in the list of registered
>> macros. Verify the spelling or contact your administrator.
>>
>> Now I have the following questions:
>>
>> Is it possible at all to render a macro and execute it standalone with the
>> rendering framework (as opposed to running it in the XWiki Platform)?
>>
>> As mentioned above, I implemented a little POC application that simply
>> renders XWiki syntax. The macro itself I implemented as a standalone jar. I
>> put the macro jar in the class path and the macro's package to the
>> context.txt of the POC application. Is that correct so far?
>>
>> Am I missing something totally altogether?
>>
>> Thanks for your help in advance.
>> Regards,
>> Thomas
>> ___
>> 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] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Thomas Mortagne
Indeed the documentation of
http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application
does talk about a XWiki.Xuake page.

On Wed, Apr 20, 2016 at 3:44 PM, Hamster  wrote:
> It seems to be a part of...
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application
>
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-migration-to-version-7-4-2-tp7599063p7599097.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



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


Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Sebastian Schabbach
Hi, 

okay... Where you can find the information that it seems to be part oft he 
Groovy Console Application?

Regards, 
Sebastian.

-Ursprüngliche Nachricht-
Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Hamster
Gesendet: Mittwoch, 20. April 2016 15:45
An: users@xwiki.org
Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to 
version 7.4.2

It seems to be a part of...

http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-migration-to-version-7-4-2-tp7599063p7599097.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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Eduard Moraru
Hi,

You could look at a very simple "userAvatar" macro for inspiration:
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-useravatar

Normally, you should:
- extend org.xwiki.rendering.macro.AbstractMacro,
- mark your implementation as an XWiki component (@Component) and give it a
name (@Named("colour")),
- register your component in your module's
main/resources/META-INF/components.txt,
- build and install your jar in your app's classpath,
- execute your macro (
http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExecuteMacros
).

Hope this helps,
Eduard

On Wed, Apr 20, 2016 at 10:51 AM, Thomas Wendel 
wrote:

> Hi,
>
> I am evaluating the XWiki Rendering Framework for a project of ours.
>
> It was no problem to create a little POC to render some sample XWiki syntax
> into HTML. Next I tried to write a little colour macro that simply renders
> some text in a colour which is specified as a macro parameter. However, I
> did not manage to get the macro executed. In the resulting HTML output I
> get the error message:
>
> Unknown macro: colour.The "colour" macro is not in the list of registered
> macros. Verify the spelling or contact your administrator.
>
> Now I have the following questions:
>
> Is it possible at all to render a macro and execute it standalone with the
> rendering framework (as opposed to running it in the XWiki Platform)?
>
> As mentioned above, I implemented a little POC application that simply
> renders XWiki syntax. The macro itself I implemented as a standalone jar. I
> put the macro jar in the class path and the macro's package to the
> context.txt of the POC application. Is that correct so far?
>
> Am I missing something totally altogether?
>
> Thanks for your help in advance.
> Regards,
> Thomas
> ___
> 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] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Hamster
It seems to be a part of...

http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-migration-to-version-7-4-2-tp7599063p7599097.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] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Mortagne
On Wed, Apr 20, 2016 at 9:51 AM, Thomas Wendel  wrote:
> Hi,
>
> I am evaluating the XWiki Rendering Framework for a project of ours.
>
> It was no problem to create a little POC to render some sample XWiki syntax
> into HTML. Next I tried to write a little colour macro that simply renders
> some text in a colour which is specified as a macro parameter. However, I
> did not manage to get the macro executed. In the resulting HTML output I
> get the error message:
>
> Unknown macro: colour.The "colour" macro is not in the list of registered
> macros. Verify the spelling or contact your administrator.
>
> Now I have the following questions:
>
> Is it possible at all to render a macro and execute it standalone with the
> rendering framework (as opposed to running it in the XWiki Platform)?

Definitely.

>
> As mentioned above, I implemented a little POC application that simply
> renders XWiki syntax. The macro itself I implemented as a standalone jar. I
> put the macro jar in the class path and the macro's package to the
> context.txt of the POC application. Is that correct so far?

No idea what context.txt file is.

The error you get ("The "colour" macro is not in the list of
registered macros") means that it did try to execute macros but your
macro handler could not be found.

Here are a few causes I can think of:
* you don't have your macro's jar in your classpath
* Java macros being components you need to make sure your macro is
listed in WEB-INF/component.txt file in your macro's jar

>
> Am I missing something totally altogether?
>
> Thanks for your help in advance.
> Regards,
> Thomas
> ___
> 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] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Thomas Mortagne
There is no such thing as "ACE editor" (I don't even see what "ACE"
could be about in this context) in standard XWiki and XWiki.Xuake page
is definitely nothing standard.

What I understand from your log is that there is various syntax errors
in the Javascript stored in XWiki.Xuake page.

On Wed, Apr 20, 2016 at 3:28 PM, Sebastian Schabbach
 wrote:
> Dear,
>
> thanks for your reply. As far as I know we don't use any extention, It must 
> be the "core system". But As I see  there are also error messages in the 
> tomcat log, that indicates javascript code is not generated correctly:
>
> 2016-03-22 09:16:14,221 
> [http://pippin:8080/xwiki/bin/ssx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 39:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:14,236 
> [http://pippin:8080/xwiki/bin/jsx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 47:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:14,564 [http://pippin:8080/xwiki/bin/edit/1/text.js] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 49:/skins/colibri/edit.vm@89,12
> 2016-03-22 09:16:27,893 
> [http://pippin:8080/xwiki/bin/edit/1/WebHome?template=&parent=Main.WebHome&title=3123123123]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 40:/skins/colibri/edit.vm@89,12
> 2016-03-22 09:16:28,315 
> [http://pippin:8080/xwiki/bin/ssx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 49:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 47, column 14: invalid 
> property id. Caused by: [  , class: "xuake-console hidden"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 48, column 6: syntax 
> error. Caused by: [});]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 51, column 14: invalid 
> property id. Caused by: [  , class: "consoleInput"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 52, column 6: syntax 
> error. Caused by: [})]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 53, column 10: syntax 
> error. Caused by: [this.executeButton = new Element("input", {]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 54, column 12: syntax 
> error. Caused by: [id: "xuake-execute-button"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 55, column 14: 
> identifier is a reserved word. Caused by: [  , class: "btn btn-info 
> button"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 57, column 15: missing ; 
> before statement. Caused by: [  , value: "Execute (CTRL + E)" ]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 58, column 6: syntax 
> error. Caused by: [})]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Error at line 59, column 10: syntax 
> error. Caused by: [this.console.insert(this.input);]
> 2016-03-22 09:16:28,393 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> ERROR c.x.x.w.s.JsExtension  - Runtime error minimizing JSX object: 
> Compilation produced 10 syntax errors.
> 2016-03-22 09:16:28,393 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension  - Failed to compress JS extension: null
> 2016-03-22 09:16:28,440 
> [http://pippin:8080/xwiki/bin/jsx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 40:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:28,924 [http://pippin:8080/xwik

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Sebastian Schabbach
Dear, 

thanks for your reply. As far as I know we don't use any extention, It must be 
the "core system". But As I see  there are also error messages in the tomcat 
log, that indicates javascript code is not generated correctly:

2016-03-22 09:16:14,221 
[http://pippin:8080/xwiki/bin/ssx/IconThemes/FontAwesome?language=de&docVersion=1.1]
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 
39:/skins/colibri/docdoesnotexist.vm@25,47 
2016-03-22 09:16:14,236 
[http://pippin:8080/xwiki/bin/jsx/IconThemes/FontAwesome?language=de&docVersion=1.1]
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 
47:/skins/colibri/docdoesnotexist.vm@25,47 
2016-03-22 09:16:14,564 [http://pippin:8080/xwiki/bin/edit/1/text.js] WARN  
o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 49:/skins/colibri/edit.vm@89,12 
2016-03-22 09:16:27,893 
[http://pippin:8080/xwiki/bin/edit/1/WebHome?template=&parent=Main.WebHome&title=3123123123]
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 40:/skins/colibri/edit.vm@89,12 
2016-03-22 09:16:28,315 
[http://pippin:8080/xwiki/bin/ssx/IconThemes/FontAwesome?language=de&docVersion=1.1]
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 
49:/skins/colibri/docdoesnotexist.vm@25,47 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 47, column 14: invalid property 
id. Caused by: [  , class: "xuake-console hidden"] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 48, column 6: syntax error. 
Caused by: [});] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 51, column 14: invalid property 
id. Caused by: [  , class: "consoleInput"] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 52, column 6: syntax error. 
Caused by: [})] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 53, column 10: syntax error. 
Caused by: [this.executeButton = new Element("input", {] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 54, column 12: syntax error. 
Caused by: [id: "xuake-execute-button"] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 55, column 14: identifier is a 
reserved word. Caused by: [  , class: "btn btn-info button"] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 57, column 15: missing ; before 
statement. Caused by: [  , value: "Execute (CTRL + E)" ] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 58, column 6: syntax error. 
Caused by: [})] 
2016-03-22 09:16:28,377 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Error at line 59, column 10: syntax error. 
Caused by: [this.console.insert(this.input);] 
2016-03-22 09:16:28,393 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] ERROR 
c.x.x.w.s.JsExtension  - Runtime error minimizing JSX object: 
Compilation produced 10 syntax errors. 
2016-03-22 09:16:28,393 
[http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] WARN  
c.x.x.w.s.JsExtension  - Failed to compress JS extension: null 
2016-03-22 09:16:28,440 
[http://pippin:8080/xwiki/bin/jsx/IconThemes/FontAwesome?language=de&docVersion=1.1]
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 
40:/skins/colibri/docdoesnotexist.vm@25,47 
2016-03-22 09:16:28,924 [http://pippin:8080/xwiki/bin/edit/1/text.js] WARN  
o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 48:/skins/colibri/edit.vm@89,12 
2016-03-22 09:16:50,488 
[http://pippin:8080/xwiki/bin/view/Main/Search?text=suche...1&x=0&y=0] WARN  
o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseContent] in 40:/skins/colibri/view.vm@25,47 
2016-03-22 09:16:50,721 
[http://pippin:8080/xwiki/bin/view/Main/Search?text=suche...1&x=0&

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Marius Dumitru Florea
I can't find any "ACE editor" extension on http://extensions.xwiki.org so
it's hard to tell what the problem is without being able to reproduce.

On Tue, Apr 19, 2016 at 2:42 PM, Sebastian Schabbach  wrote:

> Dear all,
>
> a view weeks ago we updated our xwiki application from version 6.2 to
> version 7.4, but since upgrading the wiki we encountered several problems
> with the ACE editor. The problems causes unexpected behaviors (loading the
> article content in the ace editor will never end due to javascript errors)
> when editing articles or create new ones.
>
> The root problem seems to be the Xuake script (
> http://baseurl/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1)
> tries to intialize the ace library, but I guess something is missing.
> Below is listed the console output when running the create new page
> wizzard in the xwiki.
>
> HTML1406: Invalid tag start: " WebHome (1,2)
>
> ---
> SCRIPT1010: Expected identifier
> WebHome (1,9)
>
> 
> SCRIPT5009: 'ace' is undefined
> Xuake (143,7)
>
> ---
> SCRIPT5007: Unable to get property 'noConflict' of undefined or null
> reference
> WebHome (81,54)
>
> -
> SEC7115: :visited and :link styles can only differ by color. Some styles
> were not applied to :visited.
> WebHome
>
> -
> SCRIPT1002: Syntax error
> text.js (1,1)
>
> 
> SCRIPT5007: Unable to get property 'normalize' of undefined or null
> reference
> require.min.js (20,263)
>
> -
> SCRIPT5022: Load timeout for modules:
> text!ace/css/editor.css_unnormalized2,jsTree,text!ace/theme/textmate.css_unnormalized3
> http://requirejs.org/docs/errors.html#timeout
> require.min.js (8,137)
>
> -
> SCRIPT438: Object doesn't support property or method 'getLayout'
> prototype.js (11,59324)
>
> -
> SCRIPT438: Object doesn't support property or method 'getLayout'
> prototype.js (11,59324)
>
> -
> SCRIPT438: Object doesn't support property or method 'getLayout'
> prototype.js (11,59324)
>
> -
> SCRIPT438: Object doesn't support property or method 'getLayout'
> prototype.js (11,59324)
>
> 
>
>
> Hopefully somebody has an idea what is missing and can give me some help
> with that issue.
> Let me thanks you for your investigations in advice.
>
>
> Mit freundlichen Grüßen / Kind regards
> Sebastian Schabbach
> ___
> 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] Printable Index

2016-04-20 Thread Marius Dumitru Florea
Hi Dan,

When you export a page as PDF you have the option to include a "Table of
Contents" ("List headings at the beginning of the PDF document, usually
right after the cover page."). The generated Table of Contents shows the
page numbers (where each section is located). See
http://platform.xwiki.org/xwiki/bin/view/Features/Exports . Is that what
you need?

Hope this helps,
Marius

On Wed, Apr 20, 2016 at 8:02 AM, dullfig  wrote:

> So I am writing this Quality Manual using XWiki; The main manual is one
> page,
> has many headings, and a TOC. There's also a bunch of supporting
> procedures,
> all linked to one another, and the system is really slick
>
> The problem is, we sometimes need to hand out hard printed copies of the
> manual to source inspectors to take with them. So when I go to print the
> manual, I want to include an Index with page numbers like in a book. Is
> there a way to do that?
>
> Dan.
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082.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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Wendel
Hi,

I am evaluating the XWiki Rendering Framework for a project of ours.

It was no problem to create a little POC to render some sample XWiki syntax
into HTML. Next I tried to write a little colour macro that simply renders
some text in a colour which is specified as a macro parameter. However, I
did not manage to get the macro executed. In the resulting HTML output I
get the error message:

Unknown macro: colour.The "colour" macro is not in the list of registered
macros. Verify the spelling or contact your administrator.

Now I have the following questions:

Is it possible at all to render a macro and execute it standalone with the
rendering framework (as opposed to running it in the XWiki Platform)?

As mentioned above, I implemented a little POC application that simply
renders XWiki syntax. The macro itself I implemented as a standalone jar. I
put the macro jar in the class path and the macro's package to the
context.txt of the POC application. Is that correct so far?

Am I missing something totally altogether?

Thanks for your help in advance.
Regards,
Thomas
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Marius Dumitru Florea
On Wed, Apr 20, 2016 at 9:43 AM, Thomas Mortagne 
wrote:

> The main issue is probably that moving a class is not that simple
> right now, when you move the class defining all the application
> entries they all end up broken (they keep referencing the old class
> location). We need to add support for it in the refactoring module.
>

This and the fact that when renaming a page the backlinks are updated using
the guest user (to prevent giving script/programming rights to unsafe
content). The application home page ends up with guest user as last content
author which prevents script execution. I'm pretty sure there is an issue
about this but I can't find it.


>
> On Tue, Apr 19, 2016 at 10:21 PM, Vincent Massol 
> wrote:
> > Hi,
> >
> >> On 19 Apr 2016, at 22:02, Ryszard Łach  wrote:
> >>
> >> Hi.
> >>
> >> Is there a way to migrate (xwiki 7.2.4) an application created via
> AppWithinMInutes to another node in the same wiki tree, with all documents
> created by the app ? The easy way (move parent document with all children)
> doesn't seem to work.
> >
> > AWM creates the app in a space (2 spaces before 7.3/7.4 and a single
> space after) so if you move those spaces it should work fine.
> >
> > If not then it’s a bug IMO.
> >
> > Thanks
> > -Vincent
> >
> >> TIA,
> >>
> >> R.
> >
> > ___
> > 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