Re: [xwiki-users] Migration Questions
Hi Kenneth, there is some information about how to migrate from JSPWiki to XWiki here: http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conversion Not sure how it handles attachments though. Guillaume On Tue, Mar 29, 2011 at 01:10, George, Kenneth V [NTK] kenneth.v.geo...@sprint.com wrote: I am seriously considering migrating from JSPWiki to XWiki, but I need a few questions answered first: 1) Has anyone migrated from JSPWiki to XWiki? a. How do you migrate file attachments? 2) Is there a migration tool to convert text for the pages from JSPWiki language to XWiki language? This e-mail may contain Sprint Nextel proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. ___ 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] Incomplete macro definition XWiki.WikiMacroTemplate macro id is empty
Hello, I'm trying to get rid of errors in my xwiki.log and this post is about XWiki complaining that XWiki.WikiMacroTemplate has empty ID. Environment: XWiki iteratively upgraded 2.2 - 2.3 - 2.4 - 2.6 - 3.0RC1 (there might have been minor version upgrade in-between) The question is: How should I fix this issue? (remove XWiki.WikiMacroTemplate? simply add random ID to the document?) And the actual exception 2011-03-29 17:48:05,389 [http://host/xwiki/bin/import/XWiki/XWikiPreferences?editor=globaladminsection=Import] [http://host/xwiki/bin/import/XWiki/XWikiPreferences?editor=globaladminsection=Import] ERROR ro.DefaultWikiMacroInitializer - Incomplete macro definition in [name = [WikiMacroTemplate], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type =[WIKI], parent = [null, macro id is empty org.xwiki.rendering.macro.wikibridge.WikiMacroException: Incomplete macro definition in [name = [WikiMacroTemplate], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null, macro id is empty at com.xpn.xwiki.internal.macro.DefaultWikiMacroFactory.buildMacro(DefaultWikiMacroFactory.java:133) at com.xpn.xwiki.internal.macro.DefaultWikiMacroFactory.createWikiMacro(DefaultWikiMacroFactory.java:99) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerMacro(DefaultWikiMacroInitializer.java:224) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerMacrosForWiki(DefaultWikiMacroInitializer.java:179) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerExistingWikiMacros(DefaultWikiMacroInitializer.java:148) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerExistingWikiMacros(DefaultWikiMacroInitializer.java:105) at com.xpn.xwiki.internal.macro.RegisterMacrosOnImportListener.onEvent(RegisterMacrosOnImportListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:278) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:247) at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:606) at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:318) at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:140) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
[xwiki-users] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28, 33
Hello, I'm trying to get rid of errors in my xwiki.log and this post is about XWiki complaining about usage of deprecated method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33. Environment: XWiki iteratively upgraded 2.2 - 2.3 - 2.4 - 2.6 - 3.0RC1 (there might have been minor version upgrades in-between) The question is: How should I fix this issue? (ignore it? update something? else?) And the actual warning from the logs 2011-03-29 15:51:11,969 [http://host/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http://host/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33 Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Deprecated-usage-of-method-com-xpn-xwiki-api-XWiki-parseMessage-in-templates-login-vm-28-33-tp6219660p6219660.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
[xwiki-users] Tooltip macro not working after upgrade to 3.0RC1
Hello, Environment: XWiki iteratively upgraded 2.2 - 2.3 - 2.4 - 2.6 - 3.0RC1 (there might have been minor version upgrade in-between) After having upgraded to XWiki 3.0RC1, Tooltip macro ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Tooltip+Macro ) stopped working throwing the error shown below. I've checked several other macros - they still work. Should I log a bug in Jira for the macro or this can be fixed somehow? Failed to execute the [velocity] macro org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [(%class=tooltipHint #if($!xcontext.macro.params.display-icon == false) withoutIcon#end $!hintStyles%)#if($!xcontext.macro.params.id != )(%class=tooltipLabelId hidden%)$!xcontext.macro.params.id#else{{html clean=false}}$!xcontext.macro.params.label{{/html}}#end(%class=tooltip hidden $!tooltipStyles %)$xcontext.macro.content(%class=tooltipEvent hidden%)$tooltipEvent] at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:47) at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:303) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:199) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:57) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129) at org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:213) at org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:57) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72) at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7605) at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7554) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:836) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:785) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:879) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:556) at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:188) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:153) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1890) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1828) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:848) at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at
[xwiki-users] User Display Names in Acces Rights Table
Hi everybody, I'm using LDAP for login into XWiki (MS AD), it works very well. But there's something I'll need to change: when a user is editing some page's access rights, when he/she selects the User radio button, the list that appears is based on the user's objetc names (that came from the sAMAccountName LDAP field). Since our login field (and the username) is the registering number on our company, the user's list on the access rights appears as a bunch of numbers, and not the users' names, what makes it difficult to the author guess which one is to be granted the desired right. I would like that the first_name field (or another one from the user's object, mapped from LDAP) is shown on this list. I've been looking around the rightsUI.vm and usersandgroups.js, but could not figure out how to do this. I'm using XE 3.0RC1. Any ideas? Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] User Display Names in Acces Rights Table
Hi, 2011/3/29 Ramon Gomes Brandão - SERINT ramon.bran...@tjdft.jus.br: Hi everybody, I'm using LDAP for login into XWiki (MS AD), it works very well. But there's something I'll need to change: when a user is editing some page's access rights, when he/she selects the User radio button, the list that appears is based on the user's objetc names (that came from the sAMAccountName LDAP field). Since our login field (and the username) is the registering number on our company, the user's list on the access rights appears as a bunch of numbers, and not the users' names, what makes it difficult to the author guess which one is to be granted the desired right. I would like that the first_name field (or another one from the user's object, mapped from LDAP) is shown on this list. I've been looking around the rightsUI.vm and usersandgroups.js, but could not figure out how to do this. I'm using XE 3.0RC1. There is actually no way to configure which field is used to create the user page right now, the uid is used to avoid collisions as much as possible. You could create an issue on jira asking for this feature but I think noone will have time very soon to implement it. But If you have some experience with java and LDAP and want to try implementing it I would be glad answering any question you have. Any ideas? Regards, Ramon Gomes Brandão ___ 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] remote installation problem with font display
Hi, I'm trying to install XWiki in the following way: I have a headless CentOS running on the cloud and a Macbook with SSH tunneling to the cloud machine. Because I'm new to setting up XWiki (or any wiki), I thought I'd try the Java installation first before attempting to set up all the pieces at once. From my terminal window on the Macbook, I enter java -jar xwiki-enterprise-installer-generic-2.7.1-standard.jar and after a short wait, the install dialog box pops up in the Mac's X11 application. The problem is that I can't read the font that's displayed. I'm attaching a screen shot, but in case that doesn't come through, it looks like the font is in some cursive or handwritten italic font, but only bits and pieces of each letter are visible. Sometimes I can guess what's being displayed, but mostly I can't read it at all. I've tried a trick I read about to increase the number of colors output by X11, but that didn't do anything. I suspect it's something with lacking a specific font, but I don't know what. Any suggestions? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Include Macro not working
Good evening. I attempted to invite one of my colleagues to check out XWiki that I have setup in my organization. They got the invitation email all right, but when they clicked Accept, they get the following error message from the Wiki: Failed to execute the [include] macro Any ideas? This e-mail may contain Sprint Nextel proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro not working
Hi George, On Mar 30, 2011, at 3:48 AM, George, Kenneth V [NTK] wrote: Good evening. I attempted to invite one of my colleagues to check out XWiki that I have setup in my organization. They got the invitation email all right, but when they clicked Accept, they get the following error message from the Wiki: Failed to execute the [include] macro Any ideas? You need to give us the error if you want help. Click on the failed to execute... text and you'll see the error. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users