[xwiki-users] Problems with users administration

2009-04-06 Thread Schacht, Jens
Hi,

when I try to edit one of my users I get a small mask with the 2 buttons
Save and Cancel. Above there is only the text
#includeForm(XWiki.XWikiUserSheet).

When I try to edit the Admin user I get a full mask. This takes some
time  30 sec. In the mask the message 

rss: Error processing
http://www.xwiki.org/xwiki/bin/view/Main/BlogRss?xpage=rdf: Connection
reset 

is displayed. Also I get an exception on the console:

2009-04-06 13:21:26,656
[http://localhost:8080/xwiki/bin/inline/XWiki/Admin?xpage=edituser]
[18961...@qtp0-1] WARN  filter.MacroFilter  - MacroFilter:
unable to format macro: rss
java.io.IOException: Error processing
http://www.xwiki.org/xwiki/bin/view/Main/BlogRss?xpage=rdf: Connection
reset
at
com.xpn.xwiki.render.macro.rss.RSSMacro.execute(RSSMacro.java:101)
at
com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90)
at
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.
java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89
)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEng
ine.java:96)

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


Re: [xwiki-users] Revision Viewing is throwing marco errors

2009-04-06 Thread Thomas Mortagne
On Fri, Apr 3, 2009 at 19:07, twk3 david.mount...@carbonetworks.com wrote:



 Hi,

 I can't reproduce it on XE 1.8 with a 2.0 document and rev=1.1 for example.

 Could you details the exact actions to do to reproduce it ? (Does the
 2.0 document as been converted at some point, maybe I nee I need more
 than 2 versions, etc.)



 What I did to reproduce:

 Created new page, add an {{include document=TestDoc/}} and save the page in 
 syntax 2.0

 Viewing the page at this point is fine. The document is included.

 If you check the revisions at this point, it works fine.

 But that's because both your current document, and your included document 
 have a revision 1.1

 The easiest way to reproduce at this point, is usually to reopen your 
 document and save it as a minor edit

 now view revision 1.2, as long as the included document doesn't have a 
 revision 1.2, it is going to throw a velocity error.

 So it looks like it's trying to load the same revision number for the 
 included document, and when such a revision number doesn't exist, it fails.

Ok i just reproduced it, it looks like a include macro bug. Would be
great if you could create an issue for it on http://jira.xwiki.org


 Snippets of exception:

 org.xwiki.rendering.macro.MacroExecutionException: Failed to get content for 
 Document [Sandbox.TestDoc] at 
 org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:138)...

 

 com.xpn.xwiki.XWikiException: Error number 3205 in 3: Version 1.2 does not 
 exist while reading document Sandbox.TestDoc at 
 com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDoc(XWikiHibernateVersioningStore.java:218)

 --
 View this message in context: 
 http://n2.nabble.com/Revision-Viewing-is-throwing-marco-errors-tp2571038p2581869.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

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




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


[xwiki-users] unrendered checkboxes in Administration - Rights

2009-04-06 Thread Schacht, Jens
Hi,

I have switched the default language to 'de'  and then tried to
administer Rights.

There are 2 checkboxes  (Prevent unregistered users from ..., in
german Verhindern, dass nicht registrierte Benutzer ... ) that can not
be rendered. Instead I get the labels $view_alt and $edit_alt.

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


[xwiki-users] questions about users registration

2009-04-06 Thread Schacht, Jens
Hi,

I don't understand the documentation about Wiki Access Configuration -
Private Wiki with password:

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HWikiA
ccessConfiguration

What is Global rights? I only get a mask with the header
admin.globalrights and nothing else. What do I have to do to configure
this feature?

And a second question: What happens with wiki access, if I use LDAP?

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


[xwiki-users] XEM MySQL default install script/macro errors

2009-04-06 Thread Manfred
Hi,

Did new install of XEM Jetty/Mysql version on Ubuntu 8.04, with Mysql 5.05. 
Followed install docs and everything seems to install OK and imported the XAR 
template logged is as Admin the default passwd. Only thing I changed was the 
Jett port # to 8380.

I can create new wikis but in the log file I see the ffg:

org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
2009-04-06 18:28:08,696 
[http://127.0.0.1:8380/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname=projectsXWiki.XWikiServerClass_0_wikiprettyname=ProjectsXWiki.XWikiServerClass_0_description=XWiki.XWikiServerClass_0_server=projects.nintex.co.zaXWiki.XWikiServerClass_0_owner=XWiki.AdminXWiki.XWikiServerClass_0_owner=wikitemplate=templatexeactioncreate=Create]
 [27...@qtp0-4] WARN  filter.MacroFilter  - MacroFilter: unable to 
format macro: table 
java.lang.NullPointerException
at com.xpn.xwiki.render.macro.TableBuilder.build(TableBuilder.java:97)
at com.xpn.xwiki.render.macro.TableMacro.execute(TableMacro.java:60)
at 
com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90)
at 
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at 
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at 
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:96)
at 
com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:130)
at 
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1885)
at 
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1847)
at 
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:581)
at 
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at 
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)

This appears every time I create a new wiki.

Also in the admin section when I try create myself as a new user and I fill in 
the username, first name, lastname field and then click on add new user button 
I get a comment loading and a striped moving bar but nothing more happens 
even if I wait for 60 mins. At the opt of the page under 
xwiki:webhomexwikipreference I see what seems like a script error:  
$xwiki.jsfx.use(js/scriptaculous/scriptaculous.js)

I get similar scripting errors on various pages - e.g. if I go to menu option 
Index I see $xwiki.ssfx.use(js/yui/treeview/assets/tree.css and more similar 
text.

Can anyone suggest how I might fix this?

Thanks

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


[xwiki-users] XE1.8 cannot browse tree of user created spaces

2009-04-06 Thread Manfred
Hi,

I setup XE 1.8 WAR on Ubuntu 8.1 VM with Tomcat6, Sun Java6, Postgres 8.3 with 
postgresql-8.3-604.jdbc4.jar

It seems to be OK except that when I create a New_Space and then attempt to 
view the page tree in the 

e.g. Quicklinks  Document index  Tree and myNewSpace

I just get a circular rotating arrows hourglass cursor next to the tree and 
that new space index tree never opens.

However, existing default spaces like Main and Blog open into their tree 
structure.

If I look in the Tomcat6 log I see nothing that looks like errors - just stuff 
like loading plexus context properties, plexus, context initialised.

Can anyone suggest a fix?

Thanks

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


Re: [xwiki-users] XEM MySQL default install script/macro errors

2009-04-06 Thread Martijn.Ras
See the bug i reported, the XEM release has an incorrect list of 
plugins, it's been fixed in the development build:

http://jira.xwiki.org/jira/browse/XEM-130
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XEM MySQL default install script/macro errors

2009-04-06 Thread Sergiu Dumitriu
Manfred wrote:
 Hi,
 
 Did new install of XEM Jetty/Mysql version on Ubuntu 8.04, with Mysql 5.05. 
 Followed install docs and everything seems to install OK and imported the XAR 
 template logged is as Admin the default passwd. Only thing I changed was the 
 Jett port # to 8380.
 
 I can create new wikis but in the log file I see the ffg:
 
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
 2009-04-06 18:28:08,696 
 [http://127.0.0.1:8380/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname=projectsXWiki.XWikiServerClass_0_wikiprettyname=ProjectsXWiki.XWikiServerClass_0_description=XWiki.XWikiServerClass_0_server=projects.nintex.co.zaXWiki.XWikiServerClass_0_owner=XWiki.AdminXWiki.XWikiServerClass_0_owner=wikitemplate=templatexeactioncreate=Create]
  [27...@qtp0-4] WARN  filter.MacroFilter  - MacroFilter: unable 
 to format macro: table 
 java.lang.NullPointerException
   at com.xpn.xwiki.render.macro.TableBuilder.build(TableBuilder.java:97)
   at com.xpn.xwiki.render.macro.TableMacro.execute(TableMacro.java:60)
   at 
 com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90)
   at 
 org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
   at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
   at 
 org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89)
   at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
   at 
 com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:96)
   at 
 com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:130)
   at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1885)
   at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1847)
   at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:581)
   at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
   at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
 
 This appears every time I create a new wiki.

Yes, this is a minor rendering problem that you can ignore.

 Also in the admin section when I try create myself as a new user and I fill 
 in the username, first name, lastname field and then click on add new user 
 button I get a comment loading and a striped moving bar but nothing more 
 happens even if I wait for 60 mins. At the opt of the page under 
 xwiki:webhomexwikipreference I see what seems like a script error:  
 $xwiki.jsfx.use(js/scriptaculous/scriptaculous.js)
 
 I get similar scripting errors on various pages - e.g. if I go to menu 
 option Index I see $xwiki.ssfx.use(js/yui/treeview/assets/tree.css and more 
 similar text.

As Martijn said, this is a known bug that was fixed in the development 
version.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Revision Viewing is throwing marco errors

2009-04-06 Thread twk3

Issue created: http://jira.xwiki.org/jira/browse/XWIKI-3521


On Fri, Apr 3, 2009 at 19:07, twk3 david.mount...@carbonetworks.com wrote:

Ok i just reproduced it, it looks like a include macro bug. Would be
great if you could create an issue for it on http://jira.xwiki.org

-- 
Thomas Mortagne


-- 
View this message in context: 
http://n2.nabble.com/Revision-Viewing-is-throwing-marco-errors-tp2571038p2596041.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Users and Groups administration

2009-04-06 Thread Jerome Velociter
Hi Alain,

That's indeed not the correct behavior.

Which version of XWiki was used ? In which browser ?

Thanks in advance,
Jerome.

alain.pe...@snecma.fr wrote:
 Hi,

 I report again a trouble which has not received help (well, I'm sure it's a
 stupid trouble), but, really, I'm stocken with this XWiki behavior :

 The trouble : if, as Admin in Administrator wiki, I insert for example 2
 users. I don't see them in the right category Users UI.
 The page tells Display rows from 1 to 3 out of 3 (which is right) but the
 users and not displayed.
 Same beahevior with the Groups UI : Display rows from 1 to 2 out of 2
 (obviously XWikiAdminGroup and XWikiAllGroup), but the groups are not
 displayed.

 This is for a deployment of xwiki on Tomcat 5.5 and MySQL DB, because with
 the standalone deployment (Jetty and HSQLDB), I get the right behavior :
 groups and users are displayed.

 I checked my config as far as I can :
   - in xwiki.cfg, I have the directive
 xwiki.users.initialGroups=XWiki.XWikiAllGroup
   - I have imported the right xwiki.xar
   - my hibernate parameters seem right
   - my directory templates is same as xwiki standalone

 I made again several times full new deployments (DB, XWiki, parameters) and
 always the same behavior.

 Well, thousands of thanks for help



 #
  This e-mail and any attached documents may contain confidential or 
 proprietary information. If you are not the intended recipient, please advise 
 the sender immediately and delete this e-mail and all attached documents from 
 your computer system. Any unauthorised disclosure, distribution or copying 
 hereof is prohibited.

   Ce courriel et les documents qui y sont attaches peuvent contenir des 
 informations confidentielles. Si vous n'etes  pas le destinataire escompte, 
 merci d'en informer l'expediteur immediatement et de detruire ce courriel  
 ainsi que tous les documents attaches de votre systeme informatique. Toute 
 divulgation, distribution ou copie du present courriel et des documents 
 attaches sans autorisation prealable de son emetteur est interdite.
 #
 ___
 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] Use Tags as select list instead of input

2009-04-06 Thread Jerome Velociter
Hi Jeremie,

Jeremie wrote:
 Hi all,

 It'm trying to use tags as a more structured categorization feature.

 First I saw that in tagedit.vm, we can change to a select list instead of an 
 input field for entering tags. I changed this in the displayEdit property for 
 XWiki.TagClass, but without effect.

 In tagedit.vm we have (XWiki 1.5) :

 #set($displayType = 
 $xwiki.getDocument(XWiki.TagClass).xWikiClass.tags.getProperty('displayType').value)
 #set($possibleTags = $tdoc.tagsPossibleValues)
 

 First line is ok and says select, but $tdoc.tagsPossibleValues is always 
 empty ...

 So my question is : where is defined the list of possible tags for page(s) ? 
 I though it was the tags field of page XWiki.TagClass, but it seems it's 
 not ...

I didn't even know this feature! I checked the code of 
getTagsPossibleValues in XWikiDocument.java 
(http://fisheye2.atlassian.com/browse/~raw,r=11430/xwiki/xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java),
 
the list is constructed based of pipe-separated values in the tags 
property of XWiki.TagClass (this is the moment I discovered that tags 
are stored as a static list, too ;))

So if you say tag1|tag2|tag3 here, this is what 
$doc.tagsPossibleValues will return you (as a list).

Hope this helps.
When you successfully do have the tags displayed as a select list with 
finished list of possible values, what would be cool is that you create 
a FAQ entry for it to explain how you did.

Cheers,
Jerome.

 Thanks for help,
 Jeremie

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