Hello,
Is it possible to pass arguments to a Groovy object instantiated using xwiki.parseGroovyFromPage("Blah.Blah"), or is there some other way to do it?
Thanks,
Joshua
Hello all,
I've been desiring a testing framework to aid my development efforts within XWiki pages. Specifically, I want to use test-driven development so that I can write tests for scripts before I write the scripts themselves. These tests would be harnesses (possibly using {{include document="Blah.Blah"}} and xwiki.parseGroovyFromPage("Blah.Blah")) and would report passes / failures / errors. There would also be a way to develop a suite of tests to run all at once, xUnit style. Before taking the time to develop this myself, has anyone developed something like this, or are there any recommendations or code you could share?
Thanks,
Joshua
I have created a class that will be used to display SOPs (standard operating
procedures). I have assigned the class its required properties (mostly of
data types String and TextArea) and generated the class sheet and class
template. When I create new documents/instances of the SOPClass, the
documents look like the SOPTemplate.
I've tried populating the constant properties in the SOPTemplate and
creating a new document. The new document looks like the SOPTemplate in
structure but does not have any values associated with its properties. Is
there a way that the SOPTemplate can propagate it's property values to new
instances of the SOPClass? That is, I want some (but not all) of the
properties of SOPClass to be the same for every new document/instantiation
of the SOPClass. Is this possible? Similarly, if these constant properties
are modified in the future, I'd like the changes to be distributed across
all instances of SOPClass.
Any and all help is greatly appreciated.
Joe
Hi everyone,
I'm trying to activate the xwiki monitoring feature, following the
instructions given
here:http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging, but it
doesn't work for me. Is it because I'm working on Xwiki Enterprise
Manager?
Do you have any idea of what I can do to get my log file?
In advance thanks
Raphaelle
This message and any attachments is intended for the named addressee(s)
only and may contain information that is privileged and/or confidential.
If you receive this message in error, please delete it and immediately
notify the sender. Any copying, dissemination or disclosure, either whole
or partial, by a person who is not the named addressee is prohibited. We
use virus scanning software but disclaim any liability for viruses or other
devices which remain in this message or any attachments.
*****************
Ce message, ainsi que toute piece jointe, est exclusivement adresse au(x)
destinataire(s) nomme(s) et peut contenir des informations confidentielles.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'emetteur. Toute copie, transmission ou divulgation, integrale
ou partielle, par une personne qui n'est pas nommee comme destinataire est
interdite. Nous utilisons un logiciel anti-virus mais nous denions toute
responsabilite au cas ou des virus, ou tout autre procede, seraient contenus
dans ce message ou toute piece jointe.
Hi,
At present I'm a total noob when it comes to xwiki so please
forgive anything that demonstrates that in the following
request for guidance/support...
I'd like to create a xwiki page that, in appearance, is not
dissimilar to this page:
http://www.xwiki.com/xwiki/bin/view/BlogFr/
Where the difference will ocur is that I'd like to aggregate
several *external* blog feeds into the main body content as per
the blog post item list in the example above and the same (i.e.
aggregate external feeds) for the twitter module sitting in the
right column further down although ideally i'd like to mash
twitter and identica feeds into a single list thus merging the
timelines - and for extra kudos a de-dupe would be sweet to cut
out those cross-posts and retweets.
Would be cool to do the cloud as well though I suspect I'll need
to try and cache an aggregated 'lookup' before attempting that
feat.
Finally, I'm currently working under a particular constraint -
the version of xwiki I'm using is v1.5.2.12758.
Any pointers re: best practice for a) embedding javascript in the
page as per the twitter object and b) blog post aggregation and
ideally c) some demo markup anyone could share and would be
totally delighted if d) anyone wants to tell me how they'd do or
have done the tag cloud from an aggregated feed.
Kind Regards,
Ed.
PS. I've looked at this example with Groovy though I'd appreciate
confirmation I can do it in the version I'm using before
attempting, failing and resorting to losing head on hair from
ignorant frustration ;-) i.e. any extra dependencies to do the
groovy thing or can I just do this straight away with the version
I currently use: http://bit.ly/8KcgLD
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.
The error message here is somewhat different:
=========== ERROR MESSAGE ============
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 1 of 1-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 1 of 1-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)
=========== END OF ERROR MESSAGE ============
Greetings,
Steven Calkins
> -----Ursprüngliche Nachricht-----
> Von: Steven Calkins
> Gesendet: Freitag, 27. November 2009 15:55
> An: 'XWiki Users'
> Betreff: AW: [xwiki-users] Xeclipse plugin
>
> 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(GrabSpace
Handler.java:80)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.ru
n(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(GrabSpace
Handler.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(Re
> source.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(CoreUtil
> s.java:91)
> at
> org.xwiki.eclipse.core.storage.LocalXWikiDataStorage$2.run(Loc
alXWikiDataStorage.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-bounces(a)xwiki.org [mailto:users-bounces@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.MalformedByteSequen
> ceException: Invalid byte 2 of 3-byte UTF-8 sequence.
> > at
> com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidB
> yte(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unk
> nown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(
> Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipC
> har(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl$FragmentContentDriver.next(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
> .next(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl.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(Unk
> nown Source)
> > at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unk
> nown Source)
> > at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.pa
> rse(Unknown Source)
> > at
> com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriv
> er.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(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
I need to get a list of attachments for some page (not current wiki-page).
How it possible to do for current page - I know:
{{velocity}}
#set ($attdoc=$doc)
#foreach( $attachment in $attdoc.getAttachmentList() )
* [[$attachment.getFilename()>>attach:$attachment.getFilename()]]
\\
#end
{{/velocity}}
This script works fine for current wiki-page. But when I tried to replace
#set ($attdoc=$doc)
with
#set ($attdoc='Personal.Tabels2007')
no any results. Personal.Tabels2007 - is a my space and wiki-document, where
attachments exists.
Please help me for the syntax using in this situation.
--
View this message in context: http://n2.nabble.com/Attachments-list-for-some-page-tp4090784p4090784.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
When a user attaches a new version of a file to a wiki page, the old version
of the attachment is stored in the attachment archive database, correct?
If yes, then this means that this database will fill up. Is there a way to
flush the archive for specific documents?
--
View this message in context: http://n2.nabble.com/Attachment-archive-database-tp4089237p4089237.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello List,
we have the following problem with our new installed xwiki:
after embedding an image (type jpeg) into a xwiki - site the action "save
and view" produces the following error:
any ideas?
Error number 0 in 11: Uncaught exception
Wrapped Exception: Index: 1, Size: 0
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: Index: 1, Size: 0
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at com.xpn.xwiki.doc.XWikiDocument.updateDocumentSection(XWikiDocument.java:5051)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:133)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
--
Dipl.-Ing. Axel Zuzek
--------------------------------
grundsteingasse 64/2/25
1160 Wien
tel: +43 650 678 1111
email: axel(a)zuzek.info
Hello,
This mail to inform you that on myxwiki.org, it's impossible to turn pages
into edition, either wysiwyg or wiki mode (time out).
For instance on that page :
http://cdi.myxwiki.org/xwiki/bin/view/WikiTricks/
Is this due to my wiki or to a server problem ?
Thanks in advance.
It's XWiki Enterprise 2.0.4 obviously.
On Fri, Nov 27, 2009 at 21:19, Thomas Mortagne
<thomas.mortagne(a)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
Hello,
After some XWiki engine upgrade we notify that Email notifications
interval format for Watch List change from numbers to strings
I don't known when it change and why migration don't update existing field.
To solve it, I write this snippet code to update existing
configuration. http://code.xwiki.org/xwiki/bin/view/Snippets/WatchListEmailnotificationsin…
Hop that can help.
Regards,
Arnaud.
Dear All,
has anyone installed the Xeclipse plugin in the plugin directory of
Eclipse and have it not recognized by Eclipse? I am having that problem.
The instructions from
http://xeclipse.xwiki.org/xwiki/bin/view/Main/Installation say:
"Installing XEclipse as a plugin is as easy as unzipping the downloaded
ZIP file into your eclipse plugin directory (usually
${eclipse_home}/plugins where ${eclipse_home} is your eclipse
installation directory)"
When I unzipped "xwiki-eclipse-feature-1.2-rc-1.zip" into my eclipse
plugin directory, it added another plugin directory below plugin.
(Please mention on the site that the plugin path is included in the zip
file, so that it should be extracted in the ${eclipse_home} directory.)
When that didn't work, I removed the unzipped directories and unzipped
it in the eclipse directory so that the files were filled in the plugin
directory. But it still didn't work. When the menu item Window->Show
View->Other is selected in Eclipse there is no XWiki folder and no Xwiki
Navigator. Are there some other implicit installation steps not
mentioned here? Are both the Xeclipse and the plugin necessary?
The instruction also mentions that the Eclipse Ganymede Full version (no
version number) should be installed. Mine is Eclipse Platform Version:
3.3.2, Build id: M20080221-1800. Could someone please mention the
earliest Eclipse version for which this plugin works?
Thanks,
Steven Calkins
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-bounces(a)xwiki.org [mailto:users-bounces@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.PERINAUD(a)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(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)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
Yes you are right.
It's done.
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@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.PERINAUD(a)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-bounces(a)xwiki.org [mailto:users-bounces@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.PERINAUD(a)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(a)xwiki.org
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > >
> > >
> > >
> > > --
> > > Thomas Mortagne
> > > _______________________________________________
> > > users mailing list
> > > users(a)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(a)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(a)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
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
> 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 <rssh(a)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/x…
>> ] line 31
>>
>> 2. Otherwise, on debug enabled you must see messages.
>> (see
>>
>> http://redmine.gradsoft.ua/repositories/entry/jungleplatform/platform/web/x…
>> 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="10000"
>> > username="root" password="polop"
>> > driverClassName="com.mysql.jdbc.Driver"
>> > url="jdbc:mysql://localhost:3306/hw"/>
>> > <WatchedResource>WEB-INF/web.xml</WatchedResource>
>> > </Context>
>> >
>> >
>> > web.xml in xwiki inside <web-app>
>> >
>> > <resource-ref>
>> > <description>DB Connection</description>
>> > <res-ref-name>jdbc/hw</res-ref-name>
>> > <res-type>javax.sql.DataSource</res-type>
>> > <res-auth>Container</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.SqlPluginApi@802ed1
>> >
>> > db is $db
>> >
>>
>>
>>
>
Hi,
I'm using Office 2007 SP2, XE 2.0 and XWord 1.0 final. I can connect to my
xwiki through word properly, but every page written in word is displayed as
a code such as:
<div class="Section1">
<h1>
Test!!
</h1>
<p>
TESTTT blabla </p>
</div>
The .xar import was successful and as I'm the admin every page has
programming rights as well.
I haven't found any stated bug related to this issue!
So can anyone help me since using word for editing is crucial!
Thanks!!
Fabian
--
View this message in context: http://n2.nabble.com/XWord-issue-tp4072011p4072011.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hallo Guillaume,
it´s a pity!
Than I have to look for a different possibility ;-)
Thank you!
Best Regrades
Juergen
----- original Nachricht --------
Betreff: Re: [xwiki-users] Attachment acces rights
Gesendet: Do, 26. Nov 2009
Von: Guillaume Lerouge<guillaume(a)xwiki.com>
> Hi Juergen,
>
> On Thu, Nov 26, 2009 at 10:53 AM, juergen xwiki <xwiki(a)mauhs.eu> wrote:
>
> > Hallo,
> >
> > is it possible that attachments on one page have different access rights?
> > Or gets the attachments always the rights from their page?
> >
>
> Attachments always inherit the rights from the page they are attached to.
>
> Guillaume
>
>
> > Thank you!
> >
> > Best Regrades
> >
> > juergen
> >
> > _______________________________________________
> > users mailing list
> > users(a)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(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--- original Nachricht Ende ----
Hi,
I have a groovy script in a page, that loads some data and create pages and
objects with it.
Basically for each input data 2 new documents are created, each with 2 new
objects inside (one a custom class, and one for tags "XWiki.TagClass").
For most documents there is no problem, while for some I get the following
kind of exceptions (always for one of the classes, never for the other) :
Error number 3201 in 3: Exception while saving document MailArchive.
MMKSonLinuxpatch22-01
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]
The exact same date string is used to save another document/object without
any problem (the Date fields have exactly same pattern format). I use the
same SimpleDateFormat for all, and the patterns in the class are copy-paste,
so why is it ok for one and failure for the other ?
It's not always a DateProperty that cause issues, it can also be Strings or
LargeStrings.
I tried to delete my custom class and recreate it, purge all created
documents (with doc.delete()), and also to purge all entries that were left
even after delete(), directly in database (in tables xwikidoc, xwikiobjects,
xwikistrings, xwikilargestrings, xwikidates and xwikirecyclebin), but it
seems the same input data will always have document.save() fail this way.
It seems it's always the second save() for an input data that can fail. This
second save() targets a different document, object and class, and it's not
the same groovy variables either. Could it happen that the first save() is
not completely finished and there is some problem with tables updates ?
Would I have something else to do to make sure previous transaction is
finished ?
I believe it must be something in the data, but it's only strings,
largestrings and a date, so I don't know how to investigate more...
Thanks for any help,
Jeremie
PS : I'm on XWiki 2.0.3, MySQL 5.1.38, Linux RH Rel 4
Hallo,
is it possible that attachments on one page have different access rights?
Or gets the attachments always the rights from their page?
Thank you!
Best Regrades
juergen
Hi,
got something intresting,
i have a table with divs with headings (syntax 2.0, XE 2.0.2)
|(((
=== Heading ===
)))
The Heading is displayed fine in Firefox but is not displayed in IE with
Colibri skin. Using the Toucan skin it is displayed in both browsers.
For further investigation I looked at the source code of the page where i
get something like
<table><tr><td>
<div>
<h3>Heading</h3>
</div>
</td></tr></table>
In IE somehow it seems the span is displayed but not its content. Changing
the font-size in IE the text appears, refreshing the page the text
disappears.
Any suggestions cause i really cant figure out what happens there.
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/IE-Display-problem-tp4024042p4024042.html
Sent from the XWiki- Users mailing list archive at Nabble.com.