[xwiki-notifications] [Issue] Updated: (XWIKI-1620) Problem with XWikiHibernateStore.saveLinks and multi wiki

Ludovic Dubost (JIRA) jira at xwiki.org
Thu Sep 6 14:03:15 CEST 2007


     [ http://jira.xwiki.org/jira/browse/XWIKI-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ludovic Dubost updated XWIKI-1620:
----------------------------------

          Component/s: Storage
        Fix Version/s: 1.1 RC2
    Affects Version/s: 1.1 RC1
             Assignee: Ludovic Dubost

> Problem with XWikiHibernateStore.saveLinks and multi wiki
> ---------------------------------------------------------
>
>                 Key: XWIKI-1620
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1620
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Storage
>    Affects Versions: 1.1 RC1
>            Reporter: Thomas Mortagne
>         Assigned To: Ludovic Dubost
>            Priority: Critical
>             Fix For: 1.1 RC2
>
>         Attachments: 20070816-fix-saveLinks-multiwiki.patch
>
>
> saveLinks(XWikiDocument, XWikiContext, boolean) use save hibernate Session than calling saveXWikiDoc(XWikiDocument, XWikiContext, boolean) to render. But when main wiki's XWiki.XWikiPreferences is not already in the cache when we save sub wiki page, it try to get main wiki XWikiPreferences and get "new document" that is store in the cache and corrupt all that use it next.
> This cas is very rare in current user cases but it appends for exemple in XE when creating sub wiki and import xar in this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the notifications mailing list