[Building Sakai] Problem when replying to a forum thread
Sam Ottenhoff
ottenhoff at longsight.com
Tue Sep 28 06:50:44 PDT 2010
This is a known bug in MSGCNTR 2.7.0, 2.7.1, and trunk:
http://jira.sakaiproject.org/browse/MSGCNTR-363
It seems clear that the forums code is not flushing all commits after
replies causing the StaleObjectState.
--Sam
On 9/28/2010 6:24 AM, Joaquín Marqués Alós wrote:
> Hi everyone,
>
> I have a problem when responding to a thread in the forums for a
> second time. The first time you hit "Reply to thread" function
> properly, the problem is when you come back to give a "reply to
> thread" when he takes the warning "An error has occurred while posting
> a thread."
>
> In the log I get this error:
>
> ERROR http-8080-5
> org.hibernate.event.def.AbstractFlushingEventListener - Could not
> synchronize database state with session
> org.hibernate.StaleObjectStateException: Row WAS updated or deleted by
> another transaction (or unsaved-value mapping WAS incorrect):
> [org.sakaiproject.component.app.messageforums.dao.hibernate.MessageImpl #
> 8]
>
> I searched the error on the Jira and I found a patch that is supposed
> to solve the problem but still happens the same, namely the patch is
> the "MSGCNTR-359.patch."
>
> My version is 2.7.0 Sakai.
>
> Does anyone know why this might be?
>
> Thanks in advance.
>
> A greeting.
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100928/01cabe22/attachment.html
More information about the sakai-dev
mailing list