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.
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.