I saw the default installation refers to some MailPlugin.....
com.xpn.xwiki.plugin.mail.MailPlugin
A google on this only revealed a bunch of checkins. How do I use this Mail
Plugin? I am assuming it is to register for notifications on pages? I saw
another plugin that I would have to install(and frankly, I tried but the
instructions refer to stuff that isn't there or I can't find in xwiki like
Xwiki.Toolbar page). Any info on mail plugins would be appreciated.
thanks,
dean
Hi all,
When I add properties to a class, I need to perform "Edit Objects/Save
Objects" on all documents containing an instance of that class before
the new properties exist in those documents.
In other words, after adding a new property "myNewProp" to class
"myClass", executing
$doc.display("myNewProp")
in documents already containing instances of "myClass" returns nothing
until I do "Edit Objects/Save Objects" on those documents.
Is this the intended behaviour? It makes updating classes a little
less seemless than I expected, particularly when objects of that class
are very widespread throughout the wiki.
Is the best solution to write a script to automate the "Save Objects"
task on all relevant documents, and then execute manually it every
time I add a field to a class?
I'm using XWiki v0.9.840.
Regards,
Robin
All,
This is the full stacktrace:
10:24:09,221 ERROR http-8080-Processor23
http://localhost:8080/uso/bin/view/Principal/Categorias
AbstractFlushingEventListener:performExecutions:277 - Could not
synchronize database state with session
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1
at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.j
ava:32)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntit
yPersister.java:2059)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntit
yPersister.java:2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.ja
va:59)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:274)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
:86)
at
com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernate
Store.java:342)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:974)
at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ceImpl.java:205)
at
com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificatio
nManager.java:93)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:265)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)
com.xpn.xwiki.XWikiException: Error number 3213 in 3: Exception while
deleting o
bject XWiki.superadmin
Wrapped Exception: Unexpected row count: 0 expected: 1
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:978)
at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ceImpl.java:205)
at
com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificatio
nManager.java:93)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:265)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1
at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.j
ava:32)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntit
yPersister.java:2059)
at
org.hibernate.persister.entity.BasicEntityPersister.delete(BasicEntit
yPersister.java:2203)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.ja
va:59)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:274)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
:86)
at
com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernate
Store.java:342)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:974)
at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ceImpl.java:205)
at
com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificatio
nManager.java:93)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:265)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)
10:24:18,127 WARN Finalizer JDBCContext:finalize:333 -
afterTransactionComplet
ion() was never called
I plan to have two types of articles written on my xwiki
(turmerictalks). One will be a wiki type, consisting of collaboratively
written/edited articles. The other will be blogs. Blogs do not normally
allow editing except by the blogger, but allow comments. I have created
two different space for these two types. Configuring the access levels
for the wiki type is straightforward. The blog type however poses
problems. If I denied edit rights for an authenticated group of
bloggers, the current service prevents writing too. Any suggestions? Thanks.
All,
I add my wiki to the site
http://www.xwiki.org/xwiki/bin/view/Installs/WebHome
and thanks for your appreciate!
The error appears in my log when I'm login, but If I'm logout
the error doesn´t appear,
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1 at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch
Thanks in advance
All,
I would like to eliminate the left vertical Menu from my site. After
reviewing the view.vm code, it looks as though simply deleting the Menu page
should take care of this but I receive an error when I try to delete it.
Can someone help me out here please? The error I receive is:
A problem occured while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 3203 in 3: Exception while deleting document Main.Menu
Wrapped Exception: Batch update returned unexpected row count from update: 0
actual row count: 0 expected: 1
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document Main.Menu
Wrapped Exception: Batch update returned unexpected row count from update: 0
actual row count: 0 expected: 1
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateStore.j
ava:783)
at
com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:143)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:1982)
.
.
.
.
.
<http://bobmixon.xwiki.com> KM, BPM, Intranet and Portal Technologies
<http://bobmixon.xwiki.com> The Possibilities are Endless
Bob Mixon
<mailto:bob.mixon@gmail.com> bob.mixon(a)gmail.com
http://bobmixon.xwiki.com/
Skype ID:brm1999
<https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761> Add
me to your address book... <http://www.plaxo.com/signature> Want a
signature like this?
All,
My wiki is in this site: http://www.siac.net.co/uso/
But always I have the same error when I press any button
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1 at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch
All,
I posted a question here a few weeks back about changing my News feed so the
entire article would be included instead of an excerpt. I have those
changes made and all is working great. Individuals that subscribe to my
feed like it much better.
Now I would like to do the same on the main page of my site. Currently I am
using the built-in code as follows:
#set($nbstart = $request.nbstart)
#set($category = '')
#set($nbitems = '10')
#includeMacros('Blog.Macros')
Can someone tell me the best way to get the entire article to post without
the "continue reading" link?
Thank you in advance for all the help!
<http://bobmixon.xwiki.com> KM, BPM, Intranet and Portal Technologies
<http://bobmixon.xwiki.com> The Possibilities are Endless
Bob Mixon
<mailto:bob.mixon@gmail.com> bob.mixon(a)gmail.com
http://bobmixon.xwiki.com/
Skype ID:brm1999
<https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761> Add
me to your address book... <http://www.plaxo.com/signature> Want a
signature like this?
I am trying to post a new entry in a category after the category has
been selected from the main page. It appears that I have to select the
category again (double click) from the pull down menu in the form page;
otherwise, the article extract appears only in the main page and not the
category page. This is superfluous action requirement on the part of the
poster and prone to omission. Any work-around?