Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13223

DefaultThemeManager not using transactions when updating bandana

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Medium
    • None
    • 2.9, 2.9.1
    • None

    Description

      The default theme manager in 2.9.1 does not apppear to be using transactions ... this means that when it is called from outside of a hibernate session it chimps .. hard!

      2008-09-30 13:41:01,371 WARN [http-8180-Processor17] [atlassian.confluence.cache.TransactionalCacheFactory] before Transactional cache update outside transaction. All updates to this cache should be performed from a thread with a valid transaction context.
       -- url: /wiki/plugins/servlet/builder/dwr/call/plaincall/ThemeAdminDWR.setValue.dwr | userName: persverr
      java.lang.Exception
      	at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29)
      	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	at $Proxy76.put(Unknown Source)
      	at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:90)
      	at com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74)
      	at com.atlassian.confluence.themes.DefaultThemeManager.setSpaceTheme(DefaultThemeManager.java:100)
      	at com.adaptavist.confluence.builder.themeadmin.ThemeAdminDWR.setSpaceValue(ThemeAdminDWR.java:256)
      

      Should be a pretty simple one to fix.

      Attachments

        Activity

          People

            Unassigned Unassigned
            9fcfb21963e3 Alain Moran
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: