Could not synchronize database state with session

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Could not synchronize database state with session

Florian Kessler
Hi Everyone,

I was just trying to upgrade from 3.0.1 to 4.4. as I figured I can't save XWikiPreferences anymore:


13:07:17,307 [http://0x64plusxwiki.local.0x64plus.de:8080/xwiki/bin/saveandcontinue/XWiki/XWikiPreferences] [http://0x64plusxwiki.local.0x64plus.de:8080/xwiki/bin/save/XWiki/XWikiPreferences] ERROR .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): [com.xpn.xwiki.objects.IntegerProperty#<?xml version="1.0" encoding="UTF-8"?>

<showcomments></showcomments>
]
        at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)




Is there any way to fix this?
Or force the save of my current XWikiPreferences?

Thanks in advance,
Florian
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Could not synchronize database state with session [WORKED AROUND]

Florian Kessler
Il giorno 04.01.2013, alle ore 13:10, Florian Kessler <[hidden email]> ha scritto:

> Hi Everyone,
>
> I was just trying to upgrade from 3.0.1 to 4.4. as I figured I can't save XWikiPreferences anymore:
>
>
> 13:07:17,307 [http://0x64plusxwiki.local.0x64plus.de:8080/xwiki/bin/saveandcontinue/XWiki/XWikiPreferences] [http://0x64plusxwiki.local.0x64plus.de:8080/xwiki/bin/save/XWiki/XWikiPreferences] ERROR .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): [com.xpn.xwiki.objects.IntegerProperty#<?xml version="1.0" encoding="UTF-8"?>
>
> <showcomments></showcomments>
> ]
> at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
> …
>
>

Hi all,

I could work around that issue by following
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments

Afterwards I was able to delete the property "showcomments".

Thanks nonetheless,
Florian
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
ncg
Reply | Threaded
Open this post in threaded view
|

message key "platform.livetable.pagesizeLabel" not found

ncg
Hello,

We're using XWiki 4.4.

Some message keys used in ApplicationWithinMinutes are not defined ("platform.livetable.pagesizeLabel", "platform.livetable.paginationPage"):

Example: "Résultats 1 - 4 sur 4 platform.livetable.pagesizeLabel"

I've missed something ?

Thank you

ncg


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: message key "platform.livetable.pagesizeLabel" not found

vmassol
Administrator

On Jan 29, 2013, at 8:51 AM, CHENEAU-GREHALLE Nicolas <[hidden email]> wrote:

> Hello,
>
> We're using XWiki 4.4.
>
> Some message keys used in ApplicationWithinMinutes are not defined ("platform.livetable.pagesizeLabel", "platform.livetable.paginationPage"):
>
> Example: "Résultats 1 - 4 sur 4 platform.livetable.pagesizeLabel"
>
> I've missed something ?

This was fixed in XWiki 4.4.1 AFAIK.

Thanks
-Vincent

>
> Thank you
>
> ncg

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
ncg
Reply | Threaded
Open this post in threaded view
|

Re: message key "platform.livetable.pagesizeLabel" not found

ncg
I confirm: it's ok in 4.4.1

Thank you

Ncg

-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]] De la part de Vincent Massol
Envoyé : mardi 29 janvier 2013 09:08
À : XWiki Users
Objet : Re: [xwiki-users] message key "platform.livetable.pagesizeLabel" not found


On Jan 29, 2013, at 8:51 AM, CHENEAU-GREHALLE Nicolas <[hidden email]> wrote:

> Hello,
>
> We're using XWiki 4.4.
>
> Some message keys used in ApplicationWithinMinutes are not defined ("platform.livetable.pagesizeLabel", "platform.livetable.paginationPage"):
>
> Example: "Résultats 1 - 4 sur 4 platform.livetable.pagesizeLabel"
>
> I've missed something ?

This was fixed in XWiki 4.4.1 AFAIK.

Thanks
-Vincent

>
> Thank you
>
> ncg

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users