[xwiki-users] Virtual Wikis and new users

2009-11-27 Thread PERINAUD Christophe
Hello,

We have here a main Wiki (2.0.3) and few Virtual Wikis. When a user connects to 
the main one and then goes to a virtual one, a new page is created based on the 
id of the user. The problem is that this page is not linked to user's class and 
only the id of the user is displayed instead of the first name/last name
If now the user logout, goes in the virtual wiki and connect, the system will 
create a new page called ID_1 with right information.
All authentication users is based on LDAP systems (first name and last name are 
retrieved from the AD)

Any idea where it can comes from ?

Thank you all.

Christophe Périnaud






This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Virtual Wikis and new users

2009-11-27 Thread Thomas Mortagne
On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe
christophe.perin...@kbl-bank.com wrote:
 Hello,

 We have here a main Wiki (2.0.3) and few Virtual Wikis. When a user connects 
 to the main one and then goes to a virtual one, a new page is created based 
 on the id of the user. The problem is that this page is not linked to user's 
 class and only the id of the user is displayed instead of the first name/last 
 name
 If now the user logout, goes in the virtual wiki and connect, the system will 
 create a new page called ID_1 with right information.
 All authentication users is based on LDAP systems (first name and last name 
 are retrieved from the AD)


If you want all your users to be on the main wiki you have to
configure LDAP to disable it in sub wikis. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuserstoregisteredonlyonmainwiki

 Any idea where it can comes from ?

 Thank you all.

 Christophe Périnaud




 

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail must 
 take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 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] Virtual Wikis and new users

2009-11-27 Thread PERINAUD Christophe
Thanks Thomas

On your link i see :

In order to forbid LDAP auth to create users on subwikis you can: 

- disable LDAP in xwiki.cfg and enable it in the main wiki by choosing No in 
the Ldap field of XWiki.XWikiPreference page object 
- disable LDAP in every sub-wikis by choosing No in the Ldap field of 
XWiki.XWikiPreference page object 


I guess that you mean yes in the LDAP field in the first option ?

Just i don't had to do that on my 1.8.2 wiki. When i was connecting in the main 
wiki and then going to a virtual one, the copy of the user (if new one) was ok.
 
Anyway i will try one of this options. Thank you.

 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
 De la part de Thomas Mortagne
 Envoyé : vendredi 27 novembre 2009 12:23
 À : XWiki Users
 Objet : Re: [xwiki-users] Virtual Wikis and new users
 
 On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe
 christophe.perin...@kbl-bank.com wrote:
  Hello,
 
  We have here a main Wiki (2.0.3) and few Virtual Wikis. 
 When a user connects to the main one and then goes to a 
 virtual one, a new page is created based on the id of the 
 user. The problem is that this page is not linked to user's 
 class and only the id of the user is displayed instead of the 
 first name/last name
  If now the user logout, goes in the virtual wiki and 
 connect, the system will create a new page called ID_1 
 with right information.
  All authentication users is based on LDAP systems (first 
 name and last name are retrieved from the AD)
 
 
 If you want all your users to be on the main wiki you have to
 configure LDAP to disable it in sub wikis. See
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
 ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
 storegisteredonlyonmainwiki
 
  Any idea where it can comes from ?
 
  Thank you all.
 
  Christophe Périnaud
 
 
 
 
  
 --
 --
 
  This e-mail is intended only for the addressee named above. 
 It does not bind the sender, except in the case of an 
 existing written convention with the addressee. This e-mail 
 may contain material that is confidential and privileged for 
 the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express 
 permission is strictly prohibited and may be unlawful. If you 
 are not the intended recipient, please contact the sender and 
 delete all copies.
 
  While reasonable precautions have been taken to ensure that 
 this e-mail and any attachments are free from any computer 
 virus or similar defect, no liability will be accepted in 
 that respect. Anyone accessing this e-mail must take their 
 own precautions as to security and virus protection.
 
  KBL European Private Bankers S.A., 43 boulevard Royal 
 L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
  ___
  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
 


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xeclipse plugin

2009-11-27 Thread Steven Calkins
Hi Eduard,

I now have eclipse 3.5 installed and I installed the Xeclipse plugin. I 
managed to open the Xwiki and I see all the space icons In the Xwiki Eclipse 
Navigator, but when I tell it to grab the documents, nothing happens to my 
navigator tree. Even after I refresh it it is the same. I get the following 
error:

===
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at 
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.xwiki.eclipse.ui.utils.UIUtils.runWithProgress(UIUtils.java:80)
at 
org.xwiki.eclipse.ui.handlers.GrabSpaceHandler.execute(GrabSpaceHandler.java:52)
at 
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at 
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at 
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at 
org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
at 
org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
at 
org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: com.thoughtworks.xstream.io.StreamException:  : Invalid byte 2 of 
3-byte UTF-8 sequence.
at 
com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:88)
at 
com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:70)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)
at 
org.xwiki.eclipse.core.utils.CoreUtils.readDataFromXML(CoreUtils.java:122)
at 
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.getPage(LocalXWikiDataStorage.java:123)
at org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:326)
at 
org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:71)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: 
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
Invalid byte 2 of 3-byte UTF-8 sequence.
at 
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown 
Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
at 

Re: [xwiki-users] Virtual Wikis and new users

2009-11-27 Thread Guillaume Lerouge
Hi Christophe,

On Fri, Nov 27, 2009 at 1:01 PM, PERINAUD Christophe 
christophe.perin...@kbl-bank.com wrote:

 Thanks Thomas

 On your link i see :

 In order to forbid LDAP auth to create users on subwikis you can:

 - disable LDAP in xwiki.cfg and enable it in the main wiki by choosing No
 in the Ldap field of XWiki.XWikiPreference page object
 - disable LDAP in every sub-wikis by choosing No in the Ldap field of
 XWiki.XWikiPreference page object


 I guess that you mean yes in the LDAP field in the first option ?


Indeed. Can you fix the documentation on XWiki.org?

Thanks,

Guillaume


 Just i don't had to do that on my 1.8.2 wiki. When i was connecting in the
 main wiki and then going to a virtual one, the copy of the user (if new one)
 was ok.

 Anyway i will try one of this options. Thank you.

  -Message d'origine-
  De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]
  De la part de Thomas Mortagne
  Envoyé : vendredi 27 novembre 2009 12:23
  À : XWiki Users
  Objet : Re: [xwiki-users] Virtual Wikis and new users
 
  On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe
  christophe.perin...@kbl-bank.com wrote:
   Hello,
  
   We have here a main Wiki (2.0.3) and few Virtual Wikis.
  When a user connects to the main one and then goes to a
  virtual one, a new page is created based on the id of the
  user. The problem is that this page is not linked to user's
  class and only the id of the user is displayed instead of the
  first name/last name
   If now the user logout, goes in the virtual wiki and
  connect, the system will create a new page called ID_1
  with right information.
   All authentication users is based on LDAP systems (first
  name and last name are retrieved from the AD)
  
 
  If you want all your users to be on the main wiki you have to
  configure LDAP to disable it in sub wikis. See
  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
  ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
  storegisteredonlyonmainwiki
 
   Any idea where it can comes from ?
  
   Thank you all.
  
   Christophe Périnaud
  
  
  
  
  
  --
  --
  
   This e-mail is intended only for the addressee named above.
  It does not bind the sender, except in the case of an
  existing written convention with the addressee. This e-mail
  may contain material that is confidential and privileged for
  the sole use of the intended recipient. Any review, reliance
  or distribution by others or forwarding without express
  permission is strictly prohibited and may be unlawful. If you
  are not the intended recipient, please contact the sender and
  delete all copies.
  
   While reasonable precautions have been taken to ensure that
  this e-mail and any attachments are free from any computer
  virus or similar defect, no liability will be accepted in
  that respect. Anyone accessing this e-mail must take their
  own precautions as to security and virus protection.
  
   KBL European Private Bankers S.A., 43 boulevard Royal
  L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
   ___
   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
 

 

 This e-mail is intended only for the addressee named above. It does not
 bind the sender, except in the case of an existing written convention with
 the addressee. This e-mail may contain material that is confidential and
 privileged for the sole use of the intended recipient. Any review, reliance
 or distribution by others or forwarding without express permission is
 strictly prohibited and may be unlawful. If you are not the intended
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and
 any attachments are free from any computer virus or similar defect, no
 liability will be accepted in that respect. Anyone accessing this e-mail
 must take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg,
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Virtual Wikis and new users

2009-11-27 Thread PERINAUD Christophe

Yes you are right.

It's done.

 

 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
 De la part de Guillaume Lerouge
 Envoyé : vendredi 27 novembre 2009 13:36
 À : XWiki Users
 Objet : Re: [xwiki-users] Virtual Wikis and new users
 
 Hi Christophe,
 
 On Fri, Nov 27, 2009 at 1:01 PM, PERINAUD Christophe 
 christophe.perin...@kbl-bank.com wrote:
 
  Thanks Thomas
 
  On your link i see :
 
  In order to forbid LDAP auth to create users on subwikis you can:
 
  - disable LDAP in xwiki.cfg and enable it in the main wiki 
 by choosing No
  in the Ldap field of XWiki.XWikiPreference page object
  - disable LDAP in every sub-wikis by choosing No in the 
 Ldap field of
  XWiki.XWikiPreference page object
 
 
  I guess that you mean yes in the LDAP field in the first option ?
 
 
 Indeed. Can you fix the documentation on XWiki.org?
 
 Thanks,
 
 Guillaume
 
 
  Just i don't had to do that on my 1.8.2 wiki. When i was 
 connecting in the
  main wiki and then going to a virtual one, the copy of the 
 user (if new one)
  was ok.
 
  Anyway i will try one of this options. Thank you.
 
   -Message d'origine-
   De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]
   De la part de Thomas Mortagne
   Envoyé : vendredi 27 novembre 2009 12:23
   À : XWiki Users
   Objet : Re: [xwiki-users] Virtual Wikis and new users
  
   On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe
   christophe.perin...@kbl-bank.com wrote:
Hello,
   
We have here a main Wiki (2.0.3) and few Virtual Wikis.
   When a user connects to the main one and then goes to a
   virtual one, a new page is created based on the id of the
   user. The problem is that this page is not linked to user's
   class and only the id of the user is displayed instead of the
   first name/last name
If now the user logout, goes in the virtual wiki and
   connect, the system will create a new page called ID_1
   with right information.
All authentication users is based on LDAP systems (first
   name and last name are retrieved from the AD)
   
  
   If you want all your users to be on the main wiki you have to
   configure LDAP to disable it in sub wikis. See
   http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
   ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
   storegisteredonlyonmainwiki
  
Any idea where it can comes from ?
   
Thank you all.
   
Christophe Périnaud
   
   
   
   
   
   --
   --
   
This e-mail is intended only for the addressee named above.
   It does not bind the sender, except in the case of an
   existing written convention with the addressee. This e-mail
   may contain material that is confidential and privileged for
   the sole use of the intended recipient. Any review, reliance
   or distribution by others or forwarding without express
   permission is strictly prohibited and may be unlawful. If you
   are not the intended recipient, please contact the sender and
   delete all copies.
   
While reasonable precautions have been taken to ensure that
   this e-mail and any attachments are free from any computer
   virus or similar defect, no liability will be accepted in
   that respect. Anyone accessing this e-mail must take their
   own precautions as to security and virus protection.
   
KBL European Private Bankers S.A., 43 boulevard Royal
   L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
___
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
  
 
  
 --
 --
 
  This e-mail is intended only for the addressee named above. 
 It does not
  bind the sender, except in the case of an existing written 
 convention with
  the addressee. This e-mail may contain material that is 
 confidential and
  privileged for the sole use of the intended recipient. Any 
 review, reliance
  or distribution by others or forwarding without express 
 permission is
  strictly prohibited and may be unlawful. If you are not the intended
  recipient, please contact the sender and delete all copies.
 
  While reasonable precautions have been taken to ensure that 
 this e-mail and
  any attachments are free from any computer virus or similar 
 defect, no
  liability will be accepted in that respect. Anyone 
 accessing this e-mail
  must take their own precautions as to security and virus protection.
 
  KBL European Private Bankers S.A., 43 boulevard Royal 
 L-2955 Luxembourg,
  R.C.S. Luxembourg B 6395, T (352) 47 97 1
  ___
  users mailing list
  users@xwiki.org
  

[xwiki-users] How to enable admin rights (was: Re: xwiki mysql plugin problem)

2009-11-27 Thread Ruslan Shevchenko
 You was right, I have no programming rights. But I dont know where to set
 them. Because I dont have no administration button in my xwiki. I import
 XAR
 file with templates etc, and when I log as new user I have any rights to
 do
 something.


 You can import xwiki-manager.xar to receive administration UI.

But this theme is specific to you wiki installation (I don't know what
wiki you installed and how) and are xwiki-specific.

So, I will redirect this to xwiki mail list.


 2009/11/27 Ruslan Shevchenko r...@gradsoft.com.ua




 1. are user, which do changes, have programming rights ?
 (add logEnabled to config, to check this)
 [ see

 http://redmine.gradsoft.ua/repositories/entry/jungleplatform/platform/web/xwiki-plugins/xwiki-sql-plugin/xwiki-sql-plugin/src/main/java/ua/gradsoft/xwikisql/SqlPluginApi.java
 ] line 31

 2. Otherwise, on debug enabled you must see messages.
 (see

 http://redmine.gradsoft.ua/repositories/entry/jungleplatform/platform/web/xwiki-plugins/xwiki-sql-plugin/xwiki-sql-plugin/src/main/java/ua/gradsoft/xwikisql/SqlPlugin.java
 line 85)



  So I made some changes:
 
  context.xml
 
  Context
 
   Resource name=jdbc/hw auth=Container
 type=javax.sql.DataSource
 maxActive=100 maxIdle=30 maxWait=1
 username=root password=polop
  driverClassName=com.mysql.jdbc.Driver
 url=jdbc:mysql://localhost:3306/hw/
  WatchedResourceWEB-INF/web.xml/WatchedResource
  /Context
 
 
  web.xml in xwiki inside web-app
 
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/hw/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
 
 
  log4j was added
 
  in catalina.log there are just informations about start or stop
 
  I add this line to xwiki.cfg
  xwikisql.initialContextPrefix=jdbc
 
  this code was used in velocity:
 
  #set($plugin = $xwiki.sql) plugin is $plugin #set($db =
  $plugin.getDatabase('hw')) db is $db
 
  and result is:
 
  plugin is ua.gradsoft.xwikisql.sqlplugin...@802ed1
 
  db is $db
 






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


Re: [xwiki-users] Xeclipse plugin

2009-11-27 Thread Fabio Mancinelli

On Nov 27, 2009, at 1:32 PM, Steven Calkins wrote:

 Caused by: 
 com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
 Invalid byte 2 of 3-byte UTF-8 sequence.
   at 
 com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown 
 Source)
   at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
  Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
  Source)
   at 
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
 Source)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
 Source)
   at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown 
 Source)
   at 
 com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79)
   ... 7 more
 

Hi Steven,

apparently there is some encoding problem that makes the XML parser explode. 
Probably some pages that have strange characters in the title/id.

Do you have such a kind of pages in the space you were trying to open?
Could you give us them so that we can reproduce and fix what apparently is a 
bug?

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


Re: [xwiki-users] Virtual Wikis and new users

2009-11-27 Thread Thomas Mortagne
On Fri, Nov 27, 2009 at 13:01, PERINAUD Christophe
christophe.perin...@kbl-bank.com wrote:
 Thanks Thomas

 On your link i see :

 In order to forbid LDAP auth to create users on subwikis you can:

 - disable LDAP in xwiki.cfg and enable it in the main wiki by choosing No 
 in the Ldap field of XWiki.XWikiPreference page object
 - disable LDAP in every sub-wikis by choosing No in the Ldap field of 
 XWiki.XWikiPreference page object


 I guess that you mean yes in the LDAP field in the first option ?

Yes sorry: Also it's two different solutions, you don't need to do
both, it's not very clear in the doc, i will try to improve it.


 Just i don't had to do that on my 1.8.2 wiki. When i was connecting in the 
 main wiki and then going to a virtual one, the copy of the user (if new one) 
 was ok.

 Anyway i will try one of this options. Thank you.

 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]
 De la part de Thomas Mortagne
 Envoyé : vendredi 27 novembre 2009 12:23
 À : XWiki Users
 Objet : Re: [xwiki-users] Virtual Wikis and new users

 On Fri, Nov 27, 2009 at 12:10, PERINAUD Christophe
 christophe.perin...@kbl-bank.com wrote:
  Hello,
 
  We have here a main Wiki (2.0.3) and few Virtual Wikis.
 When a user connects to the main one and then goes to a
 virtual one, a new page is created based on the id of the
 user. The problem is that this page is not linked to user's
 class and only the id of the user is displayed instead of the
 first name/last name
  If now the user logout, goes in the virtual wiki and
 connect, the system will create a new page called ID_1
 with right information.
  All authentication users is based on LDAP systems (first
 name and last name are retrieved from the AD)
 

 If you want all your users to be on the main wiki you have to
 configure LDAP to disable it in sub wikis. See
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
 ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
 storegisteredonlyonmainwiki

  Any idea where it can comes from ?
 
  Thank you all.
 
  Christophe Périnaud
 
 
 
 
 
 --
 --
 
  This e-mail is intended only for the addressee named above.
 It does not bind the sender, except in the case of an
 existing written convention with the addressee. This e-mail
 may contain material that is confidential and privileged for
 the sole use of the intended recipient. Any review, reliance
 or distribution by others or forwarding without express
 permission is strictly prohibited and may be unlawful. If you
 are not the intended recipient, please contact the sender and
 delete all copies.
 
  While reasonable precautions have been taken to ensure that
 this e-mail and any attachments are free from any computer
 virus or similar defect, no liability will be accepted in
 that respect. Anyone accessing this e-mail must take their
 own precautions as to security and virus protection.
 
  KBL European Private Bankers S.A., 43 boulevard Royal
 L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
  ___
  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

 

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail must 
 take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 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] Xeclipse plugin

2009-11-27 Thread Steven Calkins
Hi Fabio,
Here is the message when I try to grab the Panels space:
==
Message: Error during space grabbing

java.lang.reflect.InvocationTargetException
at 
org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:80)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.xwiki.eclipse.core.XWikiEclipseException: 
org.eclipse.core.internal.resources.ResourceException: * is an invalid 
character in resource name 'Panels.Recently Modified*'.
at 
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage(LocalXWikiDataStorage.java:295)
at org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:342)
at 
org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:71)
... 1 more
Caused by: org.eclipse.core.internal.resources.ResourceException: * is an 
invalid character in resource name 'Panels.Recently Modified*'.
at 
org.eclipse.core.internal.resources.Resource.checkValidPath(Resource.java:422)
at org.eclipse.core.internal.resources.Folder.create(Folder.java:82)
at org.eclipse.core.internal.resources.Folder.create(Folder.java:118)
at 
org.xwiki.eclipse.core.utils.CoreUtils.createFolder(CoreUtils.java:67)
at 
org.xwiki.eclipse.core.utils.CoreUtils.writeDataToXML(CoreUtils.java:91)
at 
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage$2.run(LocalXWikiDataStorage.java:284)
at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at 
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage(LocalXWikiDataStorage.java:271)
... 3 more 
=

I have included the panels space for your inspection (called package.xar here). 
 I hope you can reproduce the error. Thanks.

Greetings,

Steven Calkins


-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
Fabio Mancinelli
Gesendet: Freitag, 27. November 2009 15:01
An: XWiki Users
Betreff: Re: [xwiki-users] Xeclipse plugin


On Nov 27, 2009, at 1:32 PM, Steven Calkins wrote:

 Caused by: 
 com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
 Invalid byte 2 of 3-byte UTF-8 sequence.
   at 
 com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown 
 Source)
   at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
  Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
  Source)
   at 
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
 Source)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
 Source)
   at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown 
 Source)
   at 
 com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown 
 Source)
   at 
 com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79)
   ... 7 more
 

Hi Steven,

apparently there is some encoding problem that makes the XML parser explode. 
Probably some pages that have strange characters in the title/id.

Do you have such a kind of pages in the space you were trying to open?
Could you give us them so that we can reproduce and fix what apparently is a 
bug?

Thanks,
Fabio
___
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] WG: Xeclipse plugin

2009-11-27 Thread Fabio Mancinelli

On Nov 27, 2009, at 4:24 PM, Steven Calkins wrote:

 Fabio, 
 
 A bit more to the issue: I just renamed the strange page from Panels.Recently 
 Modified* to Panels.Recently Modified2 and the grabbing finished without an 
 error. Still there is no list of pages under the Panels node in the Xwiki 
 Eclipse Navigator.
 
 In another space I have -- Glossary -- and -- Views -- as page names. I 
 sort the pages using $sorttool.sort(), but I wanted these to be at the top 
 although they would not be alphabetically sorted there. So I added the -- 
 before and after. Of course I could just manually enter them into the panel, 
 but now the panel space seems to be correctly grabbed despite the unusual 
 name that occurs there. 
 
Steven,

Yes. I see two different kinds of exceptions in the stack trace: 

Caused by: 
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
Invalid byte 1 of 1-byte UTF-8 sequence.

and

Caused by: org.eclipse.core.internal.resources.ResourceException: * is an 
invalid character in resource name 'Panels.Recently Modified*'.

But I cannot tell more without having a debugger in front of me.
Send me the xar you tried to attach in your previous mail via a private mail 
(mailing lists strip away attachments) so that I can debug the whole thing.

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


[xwiki-users] [ANN] XWiki Enterprise 2.0.3 and XWiki Enterprise Manager 2.0.4 Released

2009-11-27 Thread Thomas Mortagne
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.0.4 and XWiki Enterprise Manager 2.0.4.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

This is a bug fix and enhancement release.

Among other things it contains:

* this time statistics are working, promise
* several important users management related issue fixed mainly
visible in path based multiwiki mode

For more informations see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise204
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM204.

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


Re: [xwiki-users] [ANN] XWiki Enterprise 2.0.4 and XWiki Enterprise Manager 2.0.4 Released

2009-11-27 Thread Thomas Mortagne
It's XWiki Enterprise 2.0.4 obviously.

On Fri, Nov 27, 2009 at 21:19, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 The XWiki development team is pleased to announce the release of XWiki
 Enterprise 2.0.4 and XWiki Enterprise Manager 2.0.4.

 Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

 This is a bug fix and enhancement release.

 Among other things it contains:

    * this time statistics are working, promise
    * several important users management related issue fixed mainly
 visible in path based multiwiki mode

 For more informations see the Release notes at:
 http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise204
 and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM204.

 Thanks
 - The XWiki dev team




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