Hello,
I represent a French non-profit association in the video games.
We organize LAN party, rallies players in video games and help other
non-profit organizations by lending of equipment (electrical, network,
server, scene).
We have more and more members and we would like to create a wiki for all
new members to quickly find information.
Here is the website of the association: http://lanalliance.org
Here is the website of the competition circuit we organize:
http://mastersjeuvideo.org
I wanted to know if we could have a xwiki community.
I remain at your disposal for any information.
Sorry for my English.
Thank you very much !
*------
Alexandre RODRIGUEZ*
/Secrétaire LanAlliance/
Port : +33 (0)6 87 45 17 90
@ : alexandre.rodriguez(a)lanalliance.org
<mailto:alexandre.rodriguez@mastersjeuvideo.org>
> >
> > So, questions:
> > -
> Devs, am I right that rights should be set on WebHome?
>
> What you are talking about is
> space rights and space rights always
> been
> set in WebPreferences. Changing it would be a breakage.
Right I agree ACL is still in WebPreference page but I understand what Marius said: children pages in a space (a page on the xwiki root) have space.webhome (and not space.WebPreference) for parent...
>
> > - Devs, what's the
> actual effect when rights are set on
> >
> Enciclopedie.WebPreferences?
>
> Depend what right you are talking about. If you
> set XWikiGlobalRights
> it will apply to the
> whole Enciclopedie space. If you set XWikiRights
> you will set the right for the document
> Enciclopedie.WebPreferences.
I understand that: If you set rights access on Encyclopédie.WebPreference page:
- "rights: page & children" are applied on children pages ... and Encyclopédie.WebHome!
-" rights on page" are applied on Encyclopédie.WebHome (XWiki.XWikiRights objects are added)
Then I don't know which rights are applied if "rights: page & children" and "rights on page" are different?
I suppose that "rights: page & children" must be "rights: children pages" instead ?
> > -
> Pascal, did you set the rights manually on that page?
On xWiki 7.0.1, yes Global xwiki right and encyclopédie space rigt, then I upgrade xwiki to 8.2.1 and I encoutered the problem
> > - Were the rights set as space rights
> before and were wrongly migrated/kept
> >
> on the wrong document?
Previous rights are well migrated but my user couldn't create page anymore.
To resolve my problem I apply again correct rights without success. But during my chat with Thomas, we saw that is is not a right access the problem: rights are correctly applied but "+" icone is not displayed: http://jira.xwiki.org/browse/XWIKI-13699
Thxs for your answers but my ACL doesn't work on my 8.2.1.
Users can not create new page or modify page on my encyclopédie space...
Here some ACL screenshot:
ACL on main wiki: https://snag.gy/dWbzZR.jpg
ACL on Encyclopédie space (on encyclopédie page and children)
https://snag.gy/vFArI1.jpg
(I tested with XwikiAllGroup but my with my editor group i have the same problem)
My user to test:
https://snag.gy/NPwAqg.jpg
Here my user view: https://snag.gy/6IeM4u.jpg
If someone can see what I'm wrong?
Thxs.
Pascal B
--- En date de : Ven 9.9.16, Vincent Massol <vincent(a)massol.net> a écrit :
> >
> > To conclude, do you know which ACL I must
> apply to have same rights thant xwiki 7.0.1?
> > (I must apply ACL right on ALL first level
> space?)
>
> I don’t think
> that ACL have changed over versions. There are some new
> permissions like the Script permissions but globally they
> still work the same.
>
> "Rights: Page & Children" is
> similar to space ACL”
> Correct!
>
> And “Rights: Page” is just
> permissions for the WebHome page.
>
> As before permissions are inherited. Although
> before we had only 1 space level, now we have several
> spaces. But the principle is the same.
>
> Thanks
> -Vincent
>
>
> >
> >
> Thxs for any help.
> >
> > Pascal B
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
Hi,
We have migrated to xwiki 8.2.1 in a docker environment. Everything is working as a charm. However: When registerring a user (as an admin), I get an error. Investigating this only gives me results that date from 2013 but nothing recent. I am not sure how to proceed. The error is:
<error>
type Exception report
message Servlet execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
root cause
java.lang.NoClassDefFoundError: Could not initialize class com.xpn.xwiki.web.RegisterAction
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:172)
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:147)
org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:281)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
</error>
Is there anyone who can show the direction to look for an answer?
Br,
Peter
Hello,
After upgrading my xwiki 7.0.1 to 8.2.1, i encoutered another issue: xwiki search feature doesn't work anymore.
I use Tomcat 8.0.33 + Postrgesqk 9.3 and attachments in file system and connected with Admin account.
On page ./bin/view/Main/Search?text=test&f_type=DOCUMENT&f_locale=fr&f_locale=&r=1 , I have this ugly error message displayed:
"Failed to execute the [velocity] macro. Cause: [The resolver parameter doesn't contain an Entity Reference of type [SPACE]]. Click on this message for details."
First my catalina.out show this:
"2016-10-04 10:45:00,116 [XWiki initialization] WARN onfiguredQueryExecutorProvider - Could not find a QueryExecutor with hint [hibernate] which is the hint for the storage engine, defined in your XWiki configuration under the [xwiki.store.main.hint] property. The default QueryExecutor will be used instead. Reason: [ComponentLookupException: Can't find descriptor for the component [role = [interface org.xwiki.query.QueryExecutor] hint = [hibernate]]]"
then I disabled this line in "WEB-INF/xwiki.cfg"
# test xwiki.store.main.hint=hibernate
because http://xwiki.markmail.org/message/q4zgcgki5ppuekwb?q=The+default+QueryExecu…
This workaround removed "Could not find a QueryExecutor with hint [hibernate] which is the hint for the storage engine" message in log but it doesn't resolve my probem (same error message:The resolver parameter doesn't contain an Entity Reference of type [SPACE]]. )
Here a piece of my catalina.out, if someone already found a fix.
Thxs for any help
Pascal B
2016-10-04 11:02:47,416 [XWiki initialization] INFO .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled
2016-10-04 11:02:47,735 [XWiki initialization] INFO .HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] currently in version [73000]
2016-10-04 11:02:47,735 [XWiki initialization] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
2016-10-04 11:02:53,666 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]]
2016-10-04 11:02:54,931 [XWiki Solr index job thread] ERROR o.x.s.s.i.j.IndexerJob - Exception thrown during job execution
java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:46)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:37)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:176)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:113)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:73)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:65)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:48)
at org.xwiki.search.solr.internal.reference.SolrDocumentReferenceResolver.resolve(SolrDocumentReferenceResolver.java:48)
at org.xwiki.search.solr.internal.reference.SolrDocumentReferenceResolver.resolve(SolrDocumentReferenceResolver.java:38)
at org.xwiki.search.solr.internal.job.SolrDocumentIterator.next(SolrDocumentIterator.java:99)
at org.xwiki.search.solr.internal.job.SolrDocumentIterator.next(SolrDocumentIterator.java:54)
at org.xwiki.search.solr.internal.job.DiffDocumentIterator.next(DiffDocumentIterator.java:120)
at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:113)
at org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:94)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-10-04 11:02:54,931 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
2016-10-04 11:03:03,524 [https://xwiki-dev.dom.cp2i.i2/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getXWiki] in 69:xwiki:Dashboard.WebHome@33,24
2016-10-04 11:03:03,537 [https://xwiki-dev.dom.cp2i.i2/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getContext] in 69:xwiki:Dashboard.WebHome@33,122
2016-10-04 11:03:03,605 [https://xwiki-dev.dom.cp2i.i2/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getXWiki] in 69:xwiki:Dashboard.WebHome@48,24
2016-10-04 11:03:03,606 [https://xwiki-dev.dom.cp2i.i2/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getContext] in 69:xwiki:Dashboard.WebHome@48,134
2016-10-04 11:03:03,658 [https://xwiki-dev.dom.cp2i.i2/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getXWiki] in 69:xwiki:Dashboard.WebHome@59,24
2016-10-04 11:03:03,659 [https://xwiki-dev.dom.cp2i.i2/bin/view/Main/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getContext] in 69:xwiki:Dashboard.WebHome@59,122
2016-10-04 11:04:42,743 [https://xwiki-dev.dom.cp2i.i2/bin/get/XWiki/SuggestSolrService?query=fq%3Dt…] WARN o.x.q.s.i.SolrQueryExecutor - Skipping bad result: SolrDocument{id=xwiki:Sandbox.TestPage1_fr, hidden=false, wiki=xwiki, name=TestPage1, locale=fr, language=fr, type=DOCUMENT, fullname=Sandbox.TestPage1, title_fr=[Sandbox Test Page 1], title_=Sandbox Test Page 1, doccontentraw_fr=[Cliquez sur **"Modifier"** puis altérez le contenu de la page enfin cliquez sur **"Enregistrer & Fermer** pour visualiser le résultat de vos modifications dans la page !
= Voici un texte d'exemple =
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ], doccontentraw_=Cliquez sur **"Modifier"** puis altérez le contenu de la page enfin cliquez sur **"Enregistrer & Fermer** pour visualiser le résultat de vos modifications dans la page !
= Voici un texte d'exemple =
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. , doccontent_fr=[Cliquez sur "Modifier" puis altérez le contenu de la page enfin cliquez sur "Enregistrer & Fermer pour visualiser le résultat de vos modifications dans la page !
Voici un texte d'exemple
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ], doccontent_=Cliquez sur "Modifier" puis altérez le contenu de la page enfin cliquez sur "Enregistrer & Fermer pour visualiser le résultat de vos modifications dans la page !
Voici un texte d'exemple
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. , version=2.1, doclocale=fr, locales=[, fr], lang=[, fr], author=xwiki:XWiki.Admin, author_display=Administrateur IWiki, creator=xwiki:XWiki.Admin, creator_display=Administrateur IWiki, creationdate=Wed Sep 09 02:00:00 CEST 2009, date=Wed Jun 03 17:00:05 CEST 2015, _version_=1546814558367121408, score=5.2264466}
java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:46)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:37)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:176)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:113)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:73)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:65)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:48)
at org.xwiki.search.solr.internal.reference.SolrDocumentReferenceResolver.resolve(SolrDocumentReferenceResolver.java:48)
at org.xwiki.search.solr.internal.reference.SolrDocumentReferenceResolver.resolve(SolrDocumentReferenceResolver.java:38)
at org.xwiki.query.solr.internal.SolrQueryExecutor.filterResponse(SolrQueryExecutor.java:221)
at org.xwiki.query.solr.internal.SolrQueryExecutor.execute(SolrQueryExecutor.java:128)
at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
at org.xwiki.query.internal.SecureQueryExecutorManager.execute(SecureQueryExecutorManager.java:67)
at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
at org.xwiki.query.internal.ScriptQuery.execute(ScriptQuery.java:237)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.context.ProxyVMContext.get(ProxyVMContext.java:219)
at org.apache.velocity.context.ChainedInternalContextAdapter.get(ChainedInternalContextAdapter.java:81)
at org.apache.velocity.context.EvaluateContext.get(EvaluateContext.java:160)
at org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue(ASTReference.java:991)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:240)
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.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.directive.Evaluate.render(Evaluate.java:204)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:123)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1188)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1218)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1206)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:774)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:713)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:621)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:599)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2015)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1993)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:822)
at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:713)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:621)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:599)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2015)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1993)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:822)
at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:713)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:621)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:599)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2015)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1993)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:822)
at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:713)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:621)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:599)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2015)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:449)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:193)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:868)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-10-04 11:04:42,752 [https://xwiki-dev.dom.cp2i.i2/bin/get/XWiki/SuggestSolrService?query=fq%3Dt…] WARN o.x.q.s.i.SolrQueryExecutor - Skipping bad result: SolrDocument{id=xwiki:OutilsAdmin.allBrokenLinks_debug_, hidden=true, wiki=xwiki, name=allBrokenLinks_debug, locale=, language=, type=DOCUMENT, fullname=OutilsAdmin.allBrokenLinks_debug, title__=[Sandbox Test Page 3], title_=Sandbox Test Page 3, doccontentraw__=[Click on **"Edit"** and modify the contents of this page, then click on **"Save & View"** to see how they look like on your page!
= Broken links =
{{groovy}}
//allBrokenLinks 0.01
//By Caleb James DeLisle calebdelisle{{at}}lavabit_com
I have the preview (eye) icon showing up in a page whenever I put an attachment link there. I would like to remove it. I don't want to remove the entire extension, as it is useful in the attachments area, but I find it's not helpful within the text of the page. I seem to remember configuring it to be there, but cannot remember where that was to get rid of it.
Help!
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Skype: pinkerp.lao<skype:pinkerp.lao>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org/>
Hello,
I've create my own sheep for a class.
But if i set it as default, i can't fill in the fields.
Si i kept the default one to fill in all the fields and after add manually
the custom sheet to display the page.
When i try to edit the page, i can't change anything
So i need to remove the "custom" sheet , modify the page and replace it
after...
Little boring.
So, my question is :
is it possible to keep the default sheet when i create a new page / edit an
existing page and when i save it, change the sheet with the custom.
Here is the code of the default sheet , i've try to add the custom sheet
when saving the page, but the sheet value stay empty .... :(
{{velocity}}
## You can modify this page to customize the presentation of your object.
## At first you should keep the default presentation and just save the
document.
#set($class = $doc.getObject('test.testinfraconfigClass').xWikiClass)
#foreach($prop in $class.properties)
; $prop.prettyName
: $doc.display($prop.getName())
#end
#set($obj = $doc.newObject("XWiki.DocumentSheetBinding"))
$obj.set("Sheet","test.testinfraconfig Sheet1")
$doc.save()
{{/velocity}}
And for edition mode, what can i do ?
Regards,
Tarekskayv
--
View this message in context: http://xwiki.475771.n2.nabble.com/Switch-sheet-between-view-and-edit-mode-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
FYI about annotation issue: here the fix for xwiki 8.2.1:
http://jira.xwiki.org/browse/XWIKI-13757?focusedCommentId=92815&page=com.at…
(Vincent backported Marius patch)
--- En date de : Ven 30.9.16, Mario <Mario.Hofstaetter(a)automationx.com> a écrit :
> De: Mario <Mario.Hofstaetter(a)automationx.com>
> Objet: Re: [xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code
> À: users(a)xwiki.org
> Date: Vendredi 30 septembre 2016, 12h38
> PascalB wrote
> > - when I use "annotation", input
> field is filled with HTML code instead of
> > empty:
> > https://snag.gy/3dxoIK.jpg
>
> We too have this issue on our
> 8.2.1 system (tomcat war). However, on a 8.2.1
> windows Standalone dummy system this issue is
> not present. The annotation
> editor does not
> use the CkEditor even though the user perference is set
> to
> use wysiwyg.
>
> Still haven't found a solution, other than
> setting the user preference to
> not to use
> wysiwyg.
> Thx
> Mario
>
Hi All,
I am currently using XWiki 4.2 war deployed on apache-tomcat and also using MySQL DB. I am using XWiki clustered 2 based on network events distribution. I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm mode") which allows us to have several wikis running on the same XWiki instance (i.e. in the same JVM). I also configured Scheduled jobs to empty trash and getting it triggered via cron expression.
I am facing serious performance issue as Xwiki application has become very slow and frequently results in timeout.
To resolve the performance issue I would like to migrate my XWiki application from version 4.2 to 8.2.1.
Is it a good decision? If now which version can be relatively cater more performance? Also if anyone can share the high level steps which must be followed while migration, would be great help.
Thanks & Regards,
Piyush
Hi
> >
> > FYI,
> I’ve fixed this for the Mail class in:
> > http://jira.xwiki.org/browse/XWIKI-13661
> >
> > (and for other
> classes in other issues)
For other Class you said. Then annotation issue is fixed too in 8.3 version? (I didn't found the issue)
Thxs.
> PascalB wrote
> >>> - when I use
> "annotation", input field is filled with HTML code
> instead of
> >>> empty:
> >>> https://snag.gy/3dxoIK.jpg
> >>
> >> We too have
> this issue on our 8.2.1 system (tomcat war). However, on a
> 8.2.1
> >> windows Standalone dummy
> system this issue is not present. The annotation
> >> editor does not use the CkEditor even
> though the user perference is set to
> >> use wysiwyg.
> >>
>
> >> Still haven't found a
> solution, other than setting the user preference to
> >> not to use wysiwyg.
> >> Thx
> >> Mario