I always receive the following error in the watchlist update notification.
Can anyone help indicate how to resolve this issue?
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:113)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSe
nderPlugin.java:668)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchLis
tJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'formatDate' in class com.xpn.xwiki.api.XWiki threw exception
java.lang.NullPointerException @ XWiki.WatchListMessage[27,68]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:31
8)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:107)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSe
nderPlugin.java:668)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchLis
tJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5049)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1778)
at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245
)
... 14 more
Hi everyone,
Using XWiki Enterprise version 1.7.1, we are having an error in the
e-mails received while "watching" spaces, and cannot get to the root of it.
The Watchlist Updates e-mail contents are just as follows:
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content
with id [XWiki.WatchListMessage]
<mailbox:///d%7C/ThunderBird-Mail/Local%20Folders/Inbox?number=1701611485>
When checking the server log, here's what we have
[ERROR] Method formatDate threw exception for reference $xwiki in
template XWiki.WatchListMessage at [27,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content
with id [XWiki.WatchListMessage]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'formatDate' in class com.xpn.xwiki.api.XWiki
threw exception java.lang.NullPointerException @
XWiki.WatchListMessage[27,68]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
... 7 more
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5143)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1831)
at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 14 more
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1032)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:785)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778)
at java.text.DateFormat.format(DateFormat.java:314)
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5138)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1831)
at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
I have seen a similar error 4001 before, solved by adding the
"xwiki.servletpath=bin/" but still getting that one...
Any clue would be appreciated !
BR
Olivier
--
*Olivier Gies*
*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *
*www.bull.com <http://www.bull.com/>*
*This e-mail contains material that is confidential for the sole use of
the intended recipient. Any review, reliance or distribution by others
or forwarding without express permission is strictly prohibited. If you
are not the intended recipient, please contact the sender and delete all
copies.*
Hello,
I am experiencing some layout issues. I am using the right navigation panel.
In the Blog WebHome Page, the right navigation panel is properly visible for
some pages.
However, for some pages, the right navigation panel either appears at the
bottom or at the upper left corner of the page. I am having this problem
only on the Blog WebHome page.
How can I solve this issue?
Thank you very much for your time and help!
Hande
I have a user as a member of the XWikiAllGroup. When using the default
authentication class, she is able to change her profile photo. When I
use the XWikiLDAPAuthServiceImpl authclass to integrate with LDAP, she
gets a permission error "You are not allowed to view this document or
perform this action" when trying to change her photo. Are there any
differences in how this permission is handled across the auth service
implementations, or is it likely to be an LDAP group configuration
error?
Thanks,
Peter
Hello everybody,
Changing the language to Spanish translates almost everything, and I say everything because three important things for us weren't translated:
-The WYIWYG editor: I am considering to do it directly into the code
-Some panel headers: just editing the panel allows me to translate
-the tabs with Comments/attachments/history/information footer: which I have no idea how to translate.
My question is specially about the third point, how can I change it?, the content is properly translated, but the TAB name is still in English.
Thanks^2
--
Francisco Hernández Cuchí
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi guys,
I took the code snippet from xwiki.org to rename spaces which principally works.
But the problem is that parent document settings which might be
associated to documents in that space do not get modified.
Do you have some quick velocity lines in mind, how one could enhance
the code snippet for renaming spaces in order to address this issue?
Thanx,
Sebastian
Hi list,
I tried adding filtering/sorting to tables on the toucan skin. I see
that the feature is now present only on albatross skin. Is there an easy
way to add it to the toucan skin ?
Best regards
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Last milestone of the XWiki Enterprise 1.8 version before release candidate.
Main changes:
* New Wiki Dashboard
* New way of displaying tags
* Page loading time reduced by 30%
* Improved information section in document footer
* Added wiki syntax for embedded documents
* Improved authentication performance for LDAP
Important bug fixes:
* Many bug fixes and improvements in the new GWT WYSIWYG editor
* Add support for Velocity and HTML as well as many bug fixes and
improvements in the XWiki syntax converter to convert from 1.0 syntax
to 2.0 syntax.
Note that general goals for XWiki Enterprise 1.8 are:
* Office Importer
* New Blog
* REST API
* Finish new rendering/syntax
* Finish new WYSIWYG
* French XE
* MediaWiki import
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18M2
Thanks, The XWiki dev team
Hello,
I would like to reduce the size of the comment/attachments/history/Information footer.
As I've seen, I would like to have it as it is shown in the botton part of
http://www.xwiki.org/xwiki/bin/view/Main/WebHome
I am using the toucan skin.
Thanks a lot for the help,
Francisco
--
Francisco Hernández Cuchí
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi,
I get the following error when deleting a photo album (it appears after
confirming the "do you really want to move this page to recycle bin" -
dialog) (it also appears in xwiki.log):
Has anybody experienced the same situation?
A problem occured while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: The database returned no natively generated identity
value
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: The database returned no natively generated identity
value
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:66)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3737)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3729)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5541)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5531)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.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
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
org.hibernate.HibernateException: The database returned no natively
generated identity value
at
org.hibernate.id.IdentifierGeneratorFactory.getGeneratedIdentity(IdentifierGeneratorFactory.java:67)
at
org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:77)
at
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2163)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2643)
at
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
at
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore$1.doInHibernate(XWikiHibernateRecycleBinStore.java:70)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1046)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1098)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:66)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3737)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3729)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5541)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5531)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.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
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Cheers,
Steve
--
View this message in context: http://n2.nabble.com/Error-when-trying-to-delete-a-photo-album-tp2262847p22…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I'm trying to delete an attachment using Groovy script. I've used
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(att, context);
but get error indicating a type mismatch. According to
http://www.docjar.com/docs/api/com/xpn/xwiki/doc/XWikiDocument.html
<http://www.docjar.com/docs/api/com/xpn/xwiki/doc/XWikiDocument.html>
arguments should be XWikiAttachment
<http://www.docjar.com/docs/api/com/xpn/xwiki/doc/XWikiAttachment.html>
, com.xpn.xwiki.XWikiContext
<http://www.docjar.com/docs/api/com/xpn/xwiki/XWikiContext.html> which
I think I'm using (see error msg below).
Can anyone point my error? Is this v1.8 method?
Wrapped Exception: No signature of method
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment() is applicable for
argument types: (com.xpn.xwiki.doc.XWikiAttachment,
com.xpn.xwiki.XWikiContext) values:
{com.xpn.xwiki.doc.XWikiAttachment@3c550b,
["msg":com.xpn.xwiki.web.XWikiMessageTool@401ab1,
"stats_newcookie":false,
"stats_cookie":javax.servlet.http.Cookie@986d0e,
"tdoc":Patterns.UseMyStuff,
"org.xwiki.component.manager.ComponentManager":org.xwiki.plexus.manager.
PlexusComponentManager@457b62, "ajax":false, "locale":en,
"doc":Patterns.UseMyStuff, "mainxwiki":"xwiki",
"vcontext":org.apache.velocity.VelocityContext@11fe9d5]}
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi guys,
is it on purpose, that the breadcrumbs are nearly unreadable in toucan
skin due to their color being almost the same as the background? I
searched for the appropriate setting in various css stylesheets but
couldn't find the appropriate setting. Can someone navigate me into
the right direction?
Thanx,
Sebastian
I am newbie in xwiki (yesterday I download xwiki enterprise), I want add page break in page. My purpose is if I do export to PDF, this page (although only 1 line) should print in 1 page.
Thanks in advance.
Wahono
Hi,
adding velocity macros that create html doesn't work the way it is described
in the XWikiSyntax page:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVelocity2FGroovy…
The syntax mentioned here doesn't work:
{{velocity}} #info("Some info text") {{/velocity}}
The html code ist displayed as code:
<div class="infomessage">test</div>
This syntax works but i don't know if this is correct:
{{velocity}}{{html}} #info("Some info text") {{/html}}{{/velocity}}
hel.
works
-----
Helmut Lehner
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Veloity-Macros-in-XWiki-2.0-tp2251210p2251210.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 02/03/2009.
On jury duty.
I won't have my computer with me. If you need help with the IMCS Wiki,
please contact Jenny Purushotma or Kim Dillon. Thank you!
Note: This is an automated response to your message "users Digest, Vol 19,
Issue 2" sent on 2/2/09 6:00:03.
This is the only notification you will receive while this person is away.
Dear list,
I have a problem with tables : i have a foreach method to create a table
for each instance. There is an other foreach to create the content
inside the table. The first table is well rendered, but after, i have
the following :
table: TableMacro: missing table content
ID | Task | Description | Nb hours | Edit 2,0,8,0,3,0 | testing | | |
table: TableMacro: missing table content
My code is :
#foreach ($link in $allsprintLinks)
some code
{table}
ID | Task | Description | Nb hours | Edit
#foreach ($item in $tasks)
#set($task=$xwiki.getDocument($item).getObject("TaskClass"))
$task.id | $task.get("name") | $task.description | $task.nbHourInit |
#end
{table}
#end
Any clue on what could be wrong ?
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hi!
I've created a space and denied all access to it to all groups. As an
admin (not superadmin), I can still view this space. Then I've denied
"view" right to this specific admin, but he can still view this
space.
The user I'm testing space with was created from Active Directory
automatically.
XWiki Enterprise 1.6.1.13621
Best regards, Mike
Is there any way to hide "admin" type pages from users? What I mean is that
when I go to an index or search results, not only does all of the user
created pages/content show up, but so does all of the admin pages and pages
related to the structure of the XWiki platform. Given that some of my XWiki
users are not savvy programming types, I want to avoid them even being able
to see these pages. They tend to distract and confuse.
Is there a way to have only end user created content appear in searches,
what's new and index pages?
Thank you.
--
View this message in context: http://n2.nabble.com/Admin-pages...-tp2246967p2246967.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am a new XWiki user and recently installed the Enterprise version and am
considering using it for a small company corporate Wiki. So far, I love
what I see and by comparison is much more user friendly then some of the
other Wikis I have tested.
But, I am having one small problem. When I am editing a document, the Tags
input box in the Document Information panel does not work. If I make any
changes in the Tags input box, they are not saved with the document.
However, if I make changes within the Tags input box in the Information tab
on a document and click the Save button, the changes are retained.
Any suggestions as to why the tags input in the Document Information panel
might not be working? I have installed the standalone version and have left
pretty much all of the defaults intact.
Any help would be appreciated.
Thank you.
--
View this message in context: http://n2.nabble.com/Document-Information-Tag-Editing-tp2234947p2234947.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I stole this from 2 previous emails. Can someone confirm if this is
correct if I want a display of all orphaned pages in my xwiki?
#set ($sql = "where doc.parent is null or doc.parent=''")
#set ($start = 0) #set ($nb = 500)
#set($curweb="")
#foreach ($item in $xwiki.searchDocuments($sql, $nb , $start))
#if ($xwiki.hasAccessLevel("view", "${context.database}:${item}"))
#set($bentrydoc = $xwiki.getDocument($item))
#if($curweb!=${bentrydoc.web})
<div>
1.1 ${bentrydoc.web}
</div>
#set ($curweb = ${bentrydoc.web})
#end
* [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] by
$xwiki.getLocalUserName($bentrydoc.author) on
$xwiki.formatDate($bentrydoc.date,"MMMM dd, yyyy HH:mm")
<a href="$bentrydoc.getURL("edit")">edit</a>
#end
#end
Hi,
Sorry if this question was already asked. Is there a way to make
available the Calendar, Photo album and blog but for individual spaces?
It would mean that only user from that space would see the content of
these sections.
To make this clearer:
- Space 1
o Calendar 1
o Photo Album 1
o Blog 1
- Space 2
o Calendar 2
o Photo Album 2
o Blog 2
For example, calendar 1 and calendar 2 would have totally different
content only available to the users own their current space.
Thanks for your help,
Christian Dionne
Devez-vous vraiment imprimer ce courriel? Pensons a l'environnement! Do you really need to print this email? Help preserve our environment!
L'information apparaissant dans ce message electronique et dans les documents qui y sont joints est de nature confidentielle ou privilegiee. Si ce message vous est parvenu par erreur et que vous n'en etes pas le destinataire vise, vous etes par les presentes avises que toute utilisation, copie ou distribution de ce message est strictement interdite. Vous etes donc prie d'en informer immediatement l'expediteur et de detruire ce message, ainsi que les documents qui y sont joints, le cas echeant.
The information in this message, including in all attachments, is confidential or privileged. In the event you have received this message in error and are not the intended recipient, you are hereby advised that any use, copying or reproduction of this document is strictly forbidden. Please notify immediately the sender of this error and destroy this message, including its attachments, as the case may be.
__________________________________________________________
Hello everybody. I don't know if it is a stupid question but...
I hava e page, called "Father" and his child, "Child"
If I change Father's name to "Dad", then Child's parent remains Father, even
if it does not exist anymore. Is there a way to automatically follow the
renaming of the page, making Child's parent become Dad, as it happens with
links?
Thank you
--
View this message in context: http://n2.nabble.com/Change-parents%27-name-tp2231543p2231543.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have two xwikis running on two different servers, with different databases. I want to centralize those xwikis in only one server. Therefore, I'm looking for a way (or a tool) to merge the information present in the xwiki on the server that will be disabled, into the database of the xwiki running on the central server, that will remain active. The structure of the old wiki will remain the same, and will be accessed from a link at the main page of the xwiki that will remain active.
Does anyone know if it is possible to do that?! If it is, how can I accomplish this?
Thanks a lot,
Roney Castro
I'm unable to get into Panel Wizard on
http://patternlanguagenetwork.myxwiki.org
Does it require Programming rights? I wish to add a Tag Cloud on the
side bar but I'm unable to get in.
It just hangs for 20+ secs then the main Admin page is displayed again.
I want to add a new panel "TagCloud" based on Tag Cloud Snippet.
Thanks
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the
addressee only and may contain information that is confidential or
privileged. Unauthorised use is strictly prohibited. If you are not the
addressee, you should not read, copy, disclose or otherwise use this
message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the
author and do not necessarily represent those of Coventry University.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users