Re: [xwiki-users] Dropping support for IE8 in 6.x cycle?

2014-03-12 Thread Ecaterina Moraru (Valica)
Hi Jeremie,

What version of XWiki are you using? Do you plan to upgrade to 6.x? 6.x
timeframe is by the end of the year (Dec 2014). Do you think you will still
be using IE8 next year (I don't know either how IT departments schedule the
upgrades)?

Thanks,
Caty


On Tue, Mar 11, 2014 at 10:23 PM, Jeremie BOUSQUET 
jeremie.bousq...@gmail.com wrote:

 Hello,

 Well, not everyone is that lucky :)
 Currently as you said it's an Enterprise wiki, and some enterprises do not
 necessarily shine with being up-to-date. Currently in mine our official
 browser is still IE8. And most of our customers also stick to IE8. In this
 kind of context there is no solution, except praying that your IT will
 schedule some upgrade not too far from now.
 Not saying this is representative of the majority - I have no idea. I hope
 not.

 4 years seem quite old, but in my opinion it's quite sad to see that many
 web apps have to drop support for so recent browsers versions, due to
 maintenance costs (though completely understandable). We could have
 imagined that a responsive js framework could gracefully manage when
 browser is not responsive (do you remember, when web sites could imagine
 that you didn't want to activate javascript and still work ? :) ). If the
 intention of these frameworks is to reach everyone everywhere from every
 device, then it would seem logical to manage every browser ;-) But I must
 say I'm not sure of what it means, or amount of work that would be needed.

 BR,
 Jeremie

 PS: my own computer is more than 4 years old :)



 2014-03-11 20:03 GMT+01:00 Leonardo Kodato leonardokod...@gmail.com:

  I think if even google dropped support to IE8(in their apps), why would
 you
  maintain it?
  Besides, no one wants to make thousands of hacks just to support an old
  browser.
  And Xwiki is not just a wiki. Is a 2.0 Enterprise Wiki. IE8 doesn't sound
  well with 2.0 hahaha.
 
  Btw, 4 years is a lot of time. Who has a 4 year computer today?
  You lost some old browser users, but you win some android, iPad and
 Iphone
  users.
 
  That's is what I think as a user and a html developer.
 
  Thank you =).
 
 
 
 
  2014-03-11 11:35 GMT-03:00 Ecaterina Moraru (Valica) vali...@gmail.com
 :
 
   The current supported browser list is available here
   http://dev.xwiki.org/xwiki/bin/view/Community/BrowserSupportStrategy
  
   Thanks,
   Caty
  
  
   On Tue, Mar 11, 2014 at 4:32 PM, Ecaterina Moraru (Valica) 
   vali...@gmail.com wrote:
  
Hi everyone,
   
For the 6.x cycle (
  http://www.xwiki.org/xwiki/bin/view/Roadmaps/WebHome)
   we plan to develop a new skin Flamingo (
http://design.xwiki.org/xwiki/bin/view/Improvements/Skin4x ).
One of the advantages of this skin is that is **responsive**.
 Currently
IE8 doesn't natively support this functionality.
   
I am wondering how many of you are using this browser and how
 difficult
would be upgrade to a newer version of IE (IE10, IE11).
   
IE8 was released in March 2009 (4 years ago)
IE9 - March 2011 (2 years ago)
IE10 - Sept 2012 (17 months ago)
IE11 - Oct 2013 (4 month ago)
   
Let me know of any other problems that could prevent us from dropping
  the
IE8 support.
   
Thanks,
Caty
   
   ___
   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


[xwiki-users] Include section doesn't work or wich documentation I must read for xwiki 5.4.2?

2014-03-12 Thread Pascal BASTIEN
Hello

I want include some section of page in my current page.
I need to display text between  some anchors.

Then my childpage  Sandbox » PageParent » Pagefille2 contain:
***
Contenu de ma page fille 2 avec 3 sections

[[Cliquer ici pour aller à l'ancre MonAncre3||anchor=MonAncre3]]

[[Cliquer ici pour aller au titre 1 Section 4||anchor=HSection4]]

= section1 =

Section 1 avec du texte


= section2 avec tableau =

|=titre1|=titre 2|=titre 3
| toto|titi|tutu

{{id name=MonAncre3/}}
= Section 3 =

Bla bla de section 3

{{id name=MonAncre4/}}
= Section 4 =

Bla bla de section 4
***


and My Parent page Sandbox » PageParent contain:
***
et le contenu de [[Pagefille2 section3doc:Pagefille2]]:

Accès direct à la section: [[Pagefille2 
section3doc:Pagefille2||anchor=MonAncre3]]



{{include document=Pagefille2 anchor=MonAncre3/}}



{{include reference=Pagefille2 section=MonAncre3/}}



{{include reference=Pagefille2 anchor=MonAncre3/}}



{{include document=Pagefille2 section=MonAncre3/}}



{{include reference=Pagefille2 section=HSection3/}}

***
Only this link working well {{include reference=Pagefille2 
section=HSection3/}}  :-/

The include macro in wysiwyg  editor return:
Failed to execute the [include] if we indicate anchor

Include Macra asking Document and reference. Is it the same? I must fill 
both textbox?

Some documentation indicate anchor instruction, another section...

Thx for your help.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Include section doesn't work or wich documentation I must read for xwiki 5.4.2?

2014-03-12 Thread Ecaterina Moraru (Valica)
Hi,

If you look at the {{include}} macro documentation
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro you'll
see that there is no 'anchor' parameter, only 'section'. That's why you get
the macro error. Don't use 'anchor', replace it with 'section'.

Thanks,
Caty


On Wed, Mar 12, 2014 at 11:06 AM, Pascal BASTIEN pbasnews-xw...@yahoo.frwrote:

 Hello

 I want include some section of page in my current page.
 I need to display text between  some anchors.

 Then my childpage  Sandbox » PageParent » Pagefille2 contain:
 ***
 Contenu de ma page fille 2 avec 3 sections

 [[Cliquer ici pour aller à l'ancre MonAncre3||anchor=MonAncre3]]

 [[Cliquer ici pour aller au titre 1 Section 4||anchor=HSection4]]

 = section1 =

 Section 1 avec du texte


 = section2 avec tableau =

 |=titre1|=titre 2|=titre 3
 | toto|titi|tutu

 {{id name=MonAncre3/}}
 = Section 3 =

 Bla bla de section 3

 {{id name=MonAncre4/}}
 = Section 4 =

 Bla bla de section 4
 ***


 and My Parent page Sandbox » PageParent contain:
 ***
 et le contenu de [[Pagefille2 section3doc:Pagefille2]]:

 Accès direct à la section: [[Pagefille2
 section3doc:Pagefille2||anchor=MonAncre3]]

 

 {{include document=Pagefille2 anchor=MonAncre3/}}

 

 {{include reference=Pagefille2 section=MonAncre3/}}

 

 {{include reference=Pagefille2 anchor=MonAncre3/}}

 

 {{include document=Pagefille2 section=MonAncre3/}}

 

 {{include reference=Pagefille2 section=HSection3/}}

 ***
 Only this link working well {{include reference=Pagefille2
 section=HSection3/}}  :-/

 The include macro in wysiwyg  editor return:
 Failed to execute the [include] if we indicate anchor

 Include Macra asking Document and reference. Is it the same? I must
 fill both textbox?

 Some documentation indicate anchor instruction, another section...

 Thx for your help.
 ___
 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] Include section doesn't work or wich documentation I must read for xwiki 5.4.2?

2014-03-12 Thread Pascal BASTIEN
Yes but this one {{include reference=Pagefille2 section=MonAncre3/}} 
doesn't working.
I try anchor because some documentation talking about that (xwiki syntax 
version 1 or 2)
Thxs anyway





 De : Ecaterina Moraru (Valica) vali...@gmail.com
À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org 
Envoyé le : Mercredi 12 mars 2014 10h11
Objet : Re: [xwiki-users] Include section doesn't work or wich documentation I 
must read for xwiki 5.4.2?
 


Hi, 

If you look at the {{include}} macro documentation 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro you'll see 
that there is no 'anchor' parameter, only 'section'. That's why you get the 
macro error. Don't use 'anchor', replace it with 'section'. 

Thanks,
Caty




and My Parent page Sandbox » PageParent contain:
***
et le contenu de [[Pagefille2 section3doc:Pagefille2]]:

Accès direct à la section: [[Pagefille2 
section3doc:Pagefille2||anchor=MonAncre3]]



{{include document=Pagefille2 anchor=MonAncre3/}}



{{include reference=Pagefille2 section=MonAncre3/}}



{{include reference=Pagefille2 anchor=MonAncre3/}}



{{include document=Pagefille2 section=MonAncre3/}}



{{include reference=Pagefille2 section=HSection3/}}

***
Only this link working well {{include reference=Pagefille2 
section=HSection3/}}  :-/

The include macro in wysiwyg  editor return:
Failed to execute the [include] if we indicate anchor

Include Macra asking Document and reference. Is it the same? I must fill 
both textbox?

Some documentation indicate anchor instruction, another section...

Thx for your help.
___
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] Dropping support for IE8 in 6.x cycle?

2014-03-12 Thread vinc...@massol.net
 



On 12 Mar 2014 at 08:03:48, Ecaterina Moraru (Valica) 
(vali...@gmail.com(mailto:vali...@gmail.com)) wrote:

 Hi Jeremie,
  
 What version of XWiki are you using? Do you plan to upgrade to 6.x? 6.x
 timeframe is by the end of the year (Dec 2014). Do you think you will still
 be using IE8 next year (I don't know either how IT departments schedule the
 upgrades)?

Note that this not fully true. I expect people to be able to use 6.x versions 
well before the end of the cycle (actually starting with 6.0!). So if we drop 
support of IE8 in 6.0 then people won’t be able to use it and 6.0 is for April 
so it’s definitely not in 1 year time…

Thanks
-Vincent

 Thanks,
 Caty
  
  
 On Tue, Mar 11, 2014 at 10:23 PM, Jeremie BOUSQUET 
 jeremie.bousq...@gmail.com wrote:
  
  Hello,
 
  Well, not everyone is that lucky :)
  Currently as you said it's an Enterprise wiki, and some enterprises do not
  necessarily shine with being up-to-date. Currently in mine our official
  browser is still IE8. And most of our customers also stick to IE8. In this
  kind of context there is no solution, except praying that your IT will
  schedule some upgrade not too far from now.
  Not saying this is representative of the majority - I have no idea. I hope
  not.
 
  4 years seem quite old, but in my opinion it's quite sad to see that many
  web apps have to drop support for so recent browsers versions, due to
  maintenance costs (though completely understandable). We could have
  imagined that a responsive js framework could gracefully manage when
  browser is not responsive (do you remember, when web sites could imagine
  that you didn't want to activate javascript and still work ? :) ). If the
  intention of these frameworks is to reach everyone everywhere from every
  device, then it would seem logical to manage every browser ;-) But I must
  say I'm not sure of what it means, or amount of work that would be needed.
 
  BR,
  Jeremie
 
  PS: my own computer is more than 4 years old :)
 
 
 
  2014-03-11 20:03 GMT+01:00 Leonardo Kodato :
 
   I think if even google dropped support to IE8(in their apps), why would
  you
   maintain it?
   Besides, no one wants to make thousands of hacks just to support an old
   browser.
   And Xwiki is not just a wiki. Is a 2.0 Enterprise Wiki. IE8 doesn't sound
   well with 2.0 hahaha.
  
   Btw, 4 years is a lot of time. Who has a 4 year computer today?
   You lost some old browser users, but you win some android, iPad and
  Iphone
   users.
  
   That's is what I think as a user and a html developer.
  
   Thank you =).
  
  
  
  
   2014-03-11 11:35 GMT-03:00 Ecaterina Moraru (Valica)   :
  
The current supported browser list is available here
http://dev.xwiki.org/xwiki/bin/view/Community/BrowserSupportStrategy
   
Thanks,
Caty
   
   
On Tue, Mar 11, 2014 at 4:32 PM, Ecaterina Moraru (Valica) 
vali...@gmail.com wrote:
   
 Hi everyone,

 For the 6.x cycle (
   http://www.xwiki.org/xwiki/bin/view/Roadmaps/WebHome)
we plan to develop a new skin Flamingo (
 http://design.xwiki.org/xwiki/bin/view/Improvements/Skin4x ).
 One of the advantages of this skin is that is **responsive**.
  Currently
 IE8 doesn't natively support this functionality.

 I am wondering how many of you are using this browser and how
  difficult
 would be upgrade to a newer version of IE (IE10, IE11).

 IE8 was released in March 2009 (4 years ago)
 IE9 - March 2011 (2 years ago)
 IE10 - Sept 2012 (17 months ago)
 IE11 - Oct 2013 (4 month ago)

 Let me know of any other problems that could prevent us from dropping
   the
 IE8 support.

 Thanks,
 Caty

___
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

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


[xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread Pascal BASTIEN
Hello,

With xwiki 5.4.1 I hadn't crash of xwiki but with the last version 5.4.2 I have 
2 crash per day...
Log indicate : java.lang.OutOfMemoryError: PermGen space

Here my catalina.sh

JAVA_OPTS=-server -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxPermSize=196m 
-Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC 
-XX:MaxGCPauseMillis=100 -Dhttp.proxyHost=beast.dom.cpii.i2 
-Dhttp.proxyPort=8080

and the log

2014-03-12 10:25:34,306 [http://iwiki.cp2i.i2:8080/bin/view/Main/WebHome] ERROR 
c.x.x.w.XWikiAction    - Uncaught exceptions (inner):  
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:317) 
~[xwiki-platform-legacy-oldcore-5.4.2.jar:na]
    at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) 
~[xwiki-platform-legacy-oldcore-5.4.2.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.doGet(ActionServlet.java:449) 
~[struts-core-1.3.10.jar:1.3.10]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) 
~[servlet-api.jar:na]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
~[servlet-api.jar:na]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) 
~[xwiki-platform-legacy-oldcore-5.4.2.jar:na]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at 
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
 ~[xwiki-platform-wysiwyg-server-5.4.2.jar:na]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) 
~[tomcat7-websocket.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at 
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) 
~[xwiki-platform-webdav-server-5.4.2.jar:na]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 ~[xwiki-platform-container-servlet-5.4.2.jar:na]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 ~[xwiki-platform-container-servlet-5.4.2.jar:na]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
 ~[catalina.jar:7.0.47]
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
~[catalina.jar:7.0.47]
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) 
~[catalina.jar:7.0.47]
    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) 
~[catalina.jar:7.0.47]
    at 

Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread vinc...@massol.net
 
Hi Pascal,

See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites 
and especially the memory requirements.

Thanks
-Vincent


On 12 Mar 2014 at 10:38:32, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 Hello,
  
 With xwiki 5.4.1 I hadn't crash of xwiki but with the last version 5.4.2 I 
 have 2 crash per day...
 Log indicate : java.lang.OutOfMemoryError: PermGen space
  
 Here my catalina.sh
  
 JAVA_OPTS=-server -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxPermSize=196m 
 -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC 
 -XX:MaxGCPauseMillis=100 -Dhttp.proxyHost=beast.dom.cpii.i2 
 -Dhttp.proxyPort=8080
  
 and the log
  
 2014-03-12 10:25:34,306 [http://iwiki.cp2i.i2:8080/bin/view/Main/WebHome] 
 ERROR c.x.x.w.XWikiAction - Uncaught exceptions (inner):  
 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:317) 
 ~[xwiki-platform-legacy-oldcore-5.4.2.jar:na]
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) 
 ~[xwiki-platform-legacy-oldcore-5.4.2.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.doGet(ActionServlet.java:449) 
 ~[struts-core-1.3.10.jar:1.3.10]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) 
 ~[servlet-api.jar:na]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
 ~[servlet-api.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) 
 ~[xwiki-platform-legacy-oldcore-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
  ~[xwiki-platform-wysiwyg-server-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) 
 ~[tomcat7-websocket.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) 
 ~[xwiki-platform-webdav-server-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
  ~[xwiki-platform-container-servlet-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
  ~[xwiki-platform-container-servlet-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
 ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) 
 ~[catalina.jar:7.0.47]
 at 

Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread Valdis Vītoliņš
You need to increase permanent space (parameter -XX:MaxPermSize), which
is used for static objects, and which is never deallocated, e.g.
-XX:MaxPermSize=256m

Valdis

 Hello,
 
 With xwiki 5.4.1 I hadn't crash of xwiki but with the last version 5.4.2 I 
 have 2 crash per day...
 Log indicate : java.lang.OutOfMemoryError: PermGen space
 
 Here my catalina.sh
 
 JAVA_OPTS=-server -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxPermSize=196m 
 -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC 
 -XX:MaxGCPauseMillis=100 -Dhttp.proxyHost=beast.dom.cpii.i2 
 -Dhttp.proxyPort=8080
 
 and the log
 
 2014-03-12 10:25:34,306 [http://iwiki.cp2i.i2:8080/bin/view/Main/WebHome] 
 ERROR c.x.x.w.XWikiAction- Uncaught exceptions (inner):  
 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:317) 
 ~[xwiki-platform-legacy-oldcore-5.4.2.jar:na]
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) 
 ~[xwiki-platform-legacy-oldcore-5.4.2.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.doGet(ActionServlet.java:449) 
 ~[struts-core-1.3.10.jar:1.3.10]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) 
 ~[servlet-api.jar:na]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 
 ~[servlet-api.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) 
 ~[xwiki-platform-legacy-oldcore-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
  ~[xwiki-platform-wysiwyg-server-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) 
 ~[tomcat7-websocket.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) 
 ~[xwiki-platform-webdav-server-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
  ~[xwiki-platform-container-servlet-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
  ~[xwiki-platform-container-servlet-5.4.2.jar:na]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
  ~[catalina.jar:7.0.47]
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) 
 

Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread Pascal BASTIEN
K I will try that.
Thanks you.

To Vincent 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites 
... is actually down! :-/





 De : Valdis Vītoliņš valdis.vitol...@odo.lv
À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org 
Envoyé le : Mercredi 12 mars 2014 10h46
Objet : Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2
 

You need to increase permanent space (parameter -XX:MaxPermSize), which
is used for static objects, and which is never deallocated, e.g.
-XX:MaxPermSize=256m

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


Re: [xwiki-users] Include section doesn't work or wich documentation I must read for xwiki 5.4.2?

2014-03-12 Thread Ecaterina Moraru (Valica)
Hi,

{{include document=Pagefille2 anchor=MonAncre3/}}
since 'anchor' is not a valid parameter actually it will include the whole
document.

{{include reference=Pagefille2 section=MonAncre3/}}
error

{{include reference=Pagefille2 section=HSection3/}}
working


So apparently you cannot create manual sections.
A section is considered the content after a heading, and for this the
auto-generated id is taken, not the manual one.

So even if you manually declare
{{id name=MonAncre3/}}
this will not be considered a section.
In order to use that section you need to provide the generated id and that
is usually build as 'H[Heading_name]'. You can inspect the source to find
it out.

I'm not sure if there is another simpler/manual solution to declare and use
sections since I haven't used sections very often.

Thanks,
Caty




On Wed, Mar 12, 2014 at 11:25 AM, Pascal BASTIEN pbasnews-xw...@yahoo.frwrote:

 Yes but this one {{include reference=Pagefille2 section=MonAncre3/}}
 doesn't working.
 I try anchor because some documentation talking about that (xwiki syntax
 version 1 or 2)
 Thxs anyway


   --
  *De :* Ecaterina Moraru (Valica) vali...@gmail.com
 *À :* Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users 
 users@xwiki.org
 *Envoyé le :* Mercredi 12 mars 2014 10h11
 *Objet :* Re: [xwiki-users] Include section doesn't work or wich
 documentation I must read for xwiki 5.4.2?

 Hi,

 If you look at the {{include}} macro documentation
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro you'll
 see that there is no 'anchor' parameter, only 'section'. That's why you get
 the macro error. Don't use 'anchor', replace it with 'section'.

 Thanks,
 Caty


 and My Parent page Sandbox » PageParent contain:
 ***
 et le contenu de [[Pagefille2 section3doc:Pagefille2]]:

 Accès direct à la section: [[Pagefille2
 section3doc:Pagefille2||anchor=MonAncre3]]

 

 {{include document=Pagefille2 anchor=MonAncre3/}}

 

 {{include reference=Pagefille2 section=MonAncre3/}}

 

 {{include reference=Pagefille2 anchor=MonAncre3/}}

 

 {{include document=Pagefille2 section=MonAncre3/}}

 

 {{include reference=Pagefille2 section=HSection3/}}

 ***
 Only this link working well {{include reference=Pagefille2
 section=HSection3/}}  :-/

 The include macro in wysiwyg  editor return:
 Failed to execute the [include] if we indicate anchor

 Include Macra asking Document and reference. Is it the same? I must
 fill both textbox?

 Some documentation indicate anchor instruction, another section...

 Thx for your help.
 ___
 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] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread vinc...@massol.net



On 12 Mar 2014 at 11:03:02, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 K I will try that.
 Thanks you.
  
 To Vincent 
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites
  ... is actually down! :-/


xwiki.org has restarted. It should be fine now.

-Vincent

 
 De : Valdis Vītoliņš  
 À : Pascal BASTIEN ; XWiki Users  
 Envoyé le : Mercredi 12 mars 2014 10h46
 Objet : Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2
  
  
 You need to increase permanent space (parameter -XX:MaxPermSize), which
 is used for static objects, and which is never deallocated, e.g.
 -XX:MaxPermSize=256m
  
 Valdis

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


Re: [xwiki-users] Include section doesn't work or wich documentation I must read for xwiki 5.4.2?

2014-03-12 Thread Pascal BASTIEN
https://network.xwiki.com/xwiki/bin/view/DocXE52En/IncludeInVelocity
section Indicates the anchor to the section to include in the target document
It's shame I thought include working with anchor...

Thanks you




 De : Ecaterina Moraru (Valica) vali...@gmail.com
À : Pascal BASTIEN pbasnews-xw...@yahoo.fr 
Cc : XWiki Users users@xwiki.org 
Envoyé le : Mercredi 12 mars 2014 11h05
Objet : Re: [xwiki-users] Include section doesn't work or wich documentation I 
must read for xwiki 5.4.2?
 


Hi,


{{include document=Pagefille2 anchor=MonAncre3/}} 
since 'anchor' is not a valid parameter actually it will include the whole 
document.

{{include reference=Pagefille2 section=MonAncre3/}}
error

{{include reference=Pagefille2 section=HSection3/}}
working



So apparently you cannot create manual sections. 

A section is considered the content after a heading, and for this the 
auto-generated id is taken, not the manual one. 


So even if you manually declare 
{{id name=MonAncre3/}}

this will not be considered a section. 

In order to use that section you need to provide the generated id and that is 
usually build as 'H[Heading_name]'. You can inspect the source to find it out. 


I'm not sure if there is another simpler/manual solution to declare and use 
sections since I haven't used sections very often. 


Thanks,

Caty






On Wed, Mar 12, 2014 at 11:25 AM, Pascal BASTIEN pbasnews-xw...@yahoo.fr 
wrote:

Yes but this one {{include reference=Pagefille2 section=MonAncre3/}} 
doesn't working.
I try anchor because some documentation talking about that (xwiki syntax 
version 1 or 2)
Thxs anyway







 De : Ecaterina Moraru (Valica) vali...@gmail.com
À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org 
Envoyé le : Mercredi 12 mars 2014 10h11
Objet : Re: [xwiki-users] Include section doesn't work or wich documentation I 
must read for xwiki 5.4.2?
 


Hi, 

If you look at the {{include}} macro documentation 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro you'll see 
that there is no 'anchor' parameter, only 'section'. That's why you get the 
macro error. Don't use 'anchor', replace it with 'section'. 

Thanks,
Caty





and My Parent page Sandbox » PageParent contain:
***
et le contenu de [[Pagefille2 section3doc:Pagefille2]]:

Accès direct à la section: [[Pagefille2 
section3doc:Pagefille2||anchor=MonAncre3]]



{{include document=Pagefille2 anchor=MonAncre3/}}



{{include reference=Pagefille2 section=MonAncre3/}}



{{include reference=Pagefille2 anchor=MonAncre3/}}



{{include document=Pagefille2 section=MonAncre3/}}



{{include reference=Pagefille2 section=HSection3/}}

***
Only this link working well {{include reference=Pagefille2 
section=HSection3/}}  :-/

The include macro in wysiwyg  editor return:
Failed to execute the [include] if we indicate anchor

Include Macra asking Document and reference. Is it the same? I must fill 
both textbox?

Some documentation indicate anchor instruction, another section...

Thx for your help.
___
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] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread Pascal BASTIEN
Nope...
Do you have the same problem than mine?





 De : vinc...@massol.net vinc...@massol.net
À : XWiki Users users@xwiki.org 
Envoyé le : Mercredi 12 mars 2014 11h07
Objet : Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2
 




On 12 Mar 2014 at 11:03:02, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 K I will try that.
 Thanks you.
  
 To Vincent 
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites
  ... is actually down! :-/


xwiki.org has restarted. It should be fine now.

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


[xwiki-users] Presentation about XWiki SAS and the xwiki.org open source project

2014-03-12 Thread vinc...@massol.net
Hi everyone,

FYI I gave a 10 minutes talk yesterday at Human Talk Paris 
(http://www.meetup.com/HumanTalks-Paris/events/168226002/) about XWiki SAS 
(http://xwiki.com) and the relationship with the xwiki open source project.

I thought this could be interesting to some of you:
http://www.slideshare.net/vmassol/xwiki-sas-an-open-source-company

See also:
http://www.xwiki.org/xwiki/bin/view/FAQ/What+is+the+relationship+between+XWiki+SAS+and+the+XWiki+open+source+project

Thanks
-Vincent

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


Re: [xwiki-users] multi select tag

2014-03-12 Thread Pascal BASTIEN
Is it possible to use live table on the root of xwiki site? On space Main?





 De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org 
Envoyé le : Mardi 11 mars 2014 12h12
Objet : Re: [xwiki-users] multi select tag
 

If you are referring to the Tag Cloud above the live table then you
need to check 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro
.

Hope this helps,
Marius


On Tue, Mar 11, 2014 at 11:45 AM, Pascal BASTIEN
pbasnews-xw...@yahoo.fr wrote:
 Hello

 I use the tag extension:
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
 and I try to use multi select tag to display document list (like  on your 
 nice web site: http://xwiki.org/xwiki/bin/view/FAQ/WebHome or 
 http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome or )
 I copy  paste source code without success.
 Any help/documentation? :-)

 PS: In the mailing list someone talking about tagedit.vm but I think it 
 didn't exist anymore?

 Thxs.

 Pascal B.
 ___
 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] Localization - we need your help

2014-03-12 Thread Andreea Popescu
Hello everyone,

First of all, thank you for all your localization contributions. We need
your help for some missing translations, for German and Spanish languages
for XWiki 5.4.2 version.

Some aspects about translations:

1. In the last week I verified which translations for XWiki are missing and
I've made some reports, because we can not find all the keys on l10n and in
these reports I attached some screenshots for more easily identifying the
problem:
a) For French:
http://www.xwiki.org/xwiki/bin/view/TestReports/TranslationsReport54French
b) For German:
http://www.xwiki.org/xwiki/bin/view/TestReports/Translations+Report+5.4.x+German
c) For Spanish:
http://www.xwiki.org/xwiki/bin/view/TestReports/Translations+Report+5.4.x+Spanish
2. Translations for French were finished, so now we just need some
translations for Spanish and German.
3. I tested the translations on XWiki 5.4.2, so, I will recommend you (if
you can help us) to use the same version.

A few questions about the translations:

1. Do you prefer I continue making these kinds reports (with screenshots),
or do you simply want a list of l10n keys?
2. In case you prefer a list of keys for l10n, for the missing keys should
I create a mini-report with screenshots attached?

Thank you wall and I wait your feedback,
Andreea Popescu
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] multi select tag

2014-03-12 Thread Pascal BASTIEN
Yes it's working.
Thank you.





 De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
À : Pascal BASTIEN pbasnews-xw...@yahoo.fr 
Envoyé le : Mercredi 12 mars 2014 15h08
Objet : Re: [xwiki-users] multi select tag
 

You should be able to use the live table on any wiki / space / page.

Hope this helps,
Marius


On Wed, Mar 12, 2014 at 3:37 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote:
 Is it possible to use live table on the root of xwiki site? On space Main?


 
 De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
 À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org
 Envoyé le : Mardi 11 mars 2014 12h12

 Objet : Re: [xwiki-users] multi select tag

 If you are referring to the Tag Cloud above the live table then you
 need to check
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro
 .

 Hope this helps,
 Marius

 On Tue, Mar 11, 2014 at 11:45 AM, Pascal BASTIEN
 pbasnews-xw...@yahoo.fr wrote:
 Hello

 I use the tag extension:
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
 and I try to use multi select tag to display document list (like  on your
 nice web site: http://xwiki.org/xwiki/bin/view/FAQ/WebHome or
 http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome or )
 I copy  paste source code without success.
 Any help/documentation? :-)

 PS: In the mailing list someone talking about tagedit.vm but I think it
 didn't exist anymore?

 Thxs.

 Pascal B.

 ___
 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] Error on sending emails (listener)

2014-03-12 Thread Danilo Amaral de Oliveira

Hello People,

I have codified a listener that are listening actions of creation and edition 
of the page, in on event method  I send an email to specifics users. When I 
create a page the listener works well and the email is sent, however when I 
update the page, the xwiki returns me the following error:

2014-03-12 14:43:20,841 
[http://wiki.scl.corp/bin/view/Blog/Publisher?entryName=Blog+de+Processos.Sucesso13xredirect=%2Fbin%2Fview%2FBlog%2Bde%2BProcessos%2FSucesso13form_token=yCvBxjkZrUDyTjtRbdrk3g]
 ERROR c.x.x.p.m.MailSenderPlugin - No mail object found in the document 
MailTemplate : Aviso de Publicacao Post


The funny is that the same Mailtemplate and code is used for both kind of 
events.

I am using the a listener based on this one:
http://platform.xwiki.org/xwiki/bin/download/DevGuide/GroovyNotificationTutorial/groovynotifier.txt


Any idea?


Danilo


Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


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


[xwiki-users] RES: Error on sending emails (listener)

2014-03-12 Thread Danilo Amaral de Oliveira
Just to add the my method sendMessageFromTemplate is returning -2 when I get 
error and 0 when I get success.
{{code}}
def result = xwiki.mailsender.sendMessageFromTemplate(${senderemail}, 
recipient, emailcc, emailbcc, pt_BR, MailTemplate : Aviso de Publicacao 
Post, map)
{{/code}}



Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


-Mensagem original-
De: users [mailto:users-boun...@xwiki.org] Em nome de Danilo Amaral de Oliveira
Enviada em: quarta-feira, 12 de março de 2014 14:50
Para: XWiki Users
Assunto: [xwiki-users] Error on sending emails (listener)


Hello People,

I have codified a listener that are listening actions of creation and edition 
of the page, in on event method  I send an email to specifics users. When I 
create a page the listener works well and the email is sent, however when I 
update the page, the xwiki returns me the following error:

2014-03-12 14:43:20,841 
[http://wiki.scl.corp/bin/view/Blog/Publisher?entryName=Blog+de+Processos.Sucesso13xredirect=%2Fbin%2Fview%2FBlog%2Bde%2BProcessos%2FSucesso13form_token=yCvBxjkZrUDyTjtRbdrk3g]
 ERROR c.x.x.p.m.MailSenderPlugin - No mail object found in the document 
MailTemplate : Aviso de Publicacao Post


The funny is that the same Mailtemplate and code is used for both kind of 
events.

I am using the a listener based on this one:
http://platform.xwiki.org/xwiki/bin/download/DevGuide/GroovyNotificationTutorial/groovynotifier.txt


Any idea?


Danilo


Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


___
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] RES: RES: Error on sending emails (listener)

2014-03-12 Thread Danilo Amaral de Oliveira
Solved Error.

I found the code of sendemail plugin 
(https://github.com/xwiki/xwiki-platform/blob/b6abb2ee5a67f3495bfeb3fed93e6094595842cd/xwiki-platform-core/xwiki-platform-mailsender/src/main/java/com/xpn/xwiki/plugin/mailsender/MailSenderPlugin.java)
 and I figured out the exception that I was getting

BaseObject obj = doc.getObject(EMAIL_XWIKI_CLASS_NAME, language, language);
if (obj == null) {
obj = doc.getObject(EMAIL_XWIKI_CLASS_NAME, language, en);
}
if (obj == null) {
LOGGER.error(No mail object found in the document  + 
templateDocFullName);
return ERROR_TEMPLATE_EMAIL_OBJECT_NOT_FOUND;
}


The Mail template was not being found After to put the space of the 
document the email worked to both kind of events.
So instead of
MailTemplate : Aviso de Publicacao Post

I replaced with
Space. MailTemplate : Aviso de Publicacao Post

Everything stay easier when you have access to the code =)
Sorry for bothering you...

Danilo




Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


-Mensagem original-
De: users [mailto:users-boun...@xwiki.org] Em nome de Danilo Amaral de Oliveira
Enviada em: quarta-feira, 12 de março de 2014 15:01
Para: XWiki Users
Assunto: [xwiki-users] RES: Error on sending emails (listener)

Just to add the my method sendMessageFromTemplate is returning -2 when I get 
error and 0 when I get success.
{{code}}
def result = xwiki.mailsender.sendMessageFromTemplate(${senderemail}, 
recipient, emailcc, emailbcc, pt_BR, MailTemplate : Aviso de Publicacao 
Post, map) {{/code}}



Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


-Mensagem original-
De: users [mailto:users-boun...@xwiki.org] Em nome de Danilo Amaral de Oliveira 
Enviada em: quarta-feira, 12 de março de 2014 14:50
Para: XWiki Users
Assunto: [xwiki-users] Error on sending emails (listener)


Hello People,

I have codified a listener that are listening actions of creation and edition 
of the page, in on event method  I send an email to specifics users. When I 
create a page the listener works well and the email is sent, however when I 
update the page, the xwiki returns me the following error:

2014-03-12 14:43:20,841 
[http://wiki.scl.corp/bin/view/Blog/Publisher?entryName=Blog+de+Processos.Sucesso13xredirect=%2Fbin%2Fview%2FBlog%2Bde%2BProcessos%2FSucesso13form_token=yCvBxjkZrUDyTjtRbdrk3g]
 ERROR c.x.x.p.m.MailSenderPlugin - No mail object found in the document 
MailTemplate : Aviso de Publicacao Post


The funny is that the same Mailtemplate and code is used for both kind of 
events.

I am using the a listener based on this one:
http://platform.xwiki.org/xwiki/bin/download/DevGuide/GroovyNotificationTutorial/groovynotifier.txt


Any idea?


Danilo


Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


___
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] Dropping support for IE8 in 6.x cycle?

2014-03-12 Thread Jeremie BOUSQUET
Hi Caty,


2014-03-12 8:03 GMT+01:00 Ecaterina Moraru (Valica) vali...@gmail.com:

 Hi Jeremie,

 What version of XWiki are you using? Do you plan to upgrade to 6.x? 6.x
 timeframe is by the end of the year (Dec 2014). Do you think you will still
 be using IE8 next year (I don't know either how IT departments schedule the
 upgrades)?


Well I currently use both 4.x (prod) and 5.x (tests). Usually I wait for
several iterations (near the end of an xwiki cycle or even far after the
end) to put a version in prod. I upgrade test server, when I think about it
or have some time to do so :) I think my next move will be to upgrade prod
to last 5.x version available, and there are chances that I stick on it for
a long time.
For IE8 I really don't know when it may be upgraded by our IT. Currently we
can upgrade by ourselves, but as we need to support IE8 on our own products
right now, it's somewhat easier to stick with it on our computers.

Obviously, I don't mean in any way that you should stick with IE8, just
providing my own feedback :) If you have to I'll adapt to the choice.
I think there's also a difference, between stopping support of a specific
browser version (and usually, there are chances that issues appear only
later, and that you can still use old version with almost no impact for
some time), and moving to a new technology or architecture that implies a
complete break of usability on old versions. Here I suspect it may be more
of the second kind. Gmail does not support IE8, but for the time being, the
only impact I saw personnally, is a message with a recommendation to
upgrade my browser version ...



 Thanks,
 Caty


 On Tue, Mar 11, 2014 at 10:23 PM, Jeremie BOUSQUET 
 jeremie.bousq...@gmail.com wrote:

  Hello,
 
  Well, not everyone is that lucky :)
  Currently as you said it's an Enterprise wiki, and some enterprises do
 not
  necessarily shine with being up-to-date. Currently in mine our official
  browser is still IE8. And most of our customers also stick to IE8. In
 this
  kind of context there is no solution, except praying that your IT will
  schedule some upgrade not too far from now.
  Not saying this is representative of the majority - I have no idea. I
 hope
  not.
 
  4 years seem quite old, but in my opinion it's quite sad to see that many
  web apps have to drop support for so recent browsers versions, due to
  maintenance costs (though completely understandable). We could have
  imagined that a responsive js framework could gracefully manage when
  browser is not responsive (do you remember, when web sites could imagine
  that you didn't want to activate javascript and still work ? :) ). If
 the
  intention of these frameworks is to reach everyone everywhere from every
  device, then it would seem logical to manage every browser ;-) But I must
  say I'm not sure of what it means, or amount of work that would be
 needed.
 
  BR,
  Jeremie
 
  PS: my own computer is more than 4 years old :)
 
 
 
  2014-03-11 20:03 GMT+01:00 Leonardo Kodato leonardokod...@gmail.com:
 
   I think if even google dropped support to IE8(in their apps), why would
  you
   maintain it?
   Besides, no one wants to make thousands of hacks just to support an old
   browser.
   And Xwiki is not just a wiki. Is a 2.0 Enterprise Wiki. IE8 doesn't
 sound
   well with 2.0 hahaha.
  
   Btw, 4 years is a lot of time. Who has a 4 year computer today?
   You lost some old browser users, but you win some android, iPad and
  Iphone
   users.
  
   That's is what I think as a user and a html developer.
  
   Thank you =).
  
  
  
  
   2014-03-11 11:35 GMT-03:00 Ecaterina Moraru (Valica) 
 vali...@gmail.com
  :
  
The current supported browser list is available here
http://dev.xwiki.org/xwiki/bin/view/Community/BrowserSupportStrategy
   
Thanks,
Caty
   
   
On Tue, Mar 11, 2014 at 4:32 PM, Ecaterina Moraru (Valica) 
vali...@gmail.com wrote:
   
 Hi everyone,

 For the 6.x cycle (
   http://www.xwiki.org/xwiki/bin/view/Roadmaps/WebHome)
we plan to develop a new skin Flamingo (
 http://design.xwiki.org/xwiki/bin/view/Improvements/Skin4x ).
 One of the advantages of this skin is that is **responsive**.
  Currently
 IE8 doesn't natively support this functionality.

 I am wondering how many of you are using this browser and how
  difficult
 would be upgrade to a newer version of IE (IE10, IE11).

 IE8 was released in March 2009 (4 years ago)
 IE9 - March 2011 (2 years ago)
 IE10 - Sept 2012 (17 months ago)
 IE11 - Oct 2013 (4 month ago)

 Let me know of any other problems that could prevent us from
 dropping
   the
 IE8 support.

 Thanks,
 Caty

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