TransactionManager not injected into a servlet module in a v2 plugin

XMLWordPrintable

          private PlatformTransactionManager transactionManager;
          
          public void setTransactionManager(PlatformTransactionManager transactionManager)
          {
              this.transactionManager = transactionManager;
          }
      

      When the doGet() method is executed, transactionManager is null. If I try to get the transactionManager from the ContainerManager and assign it to the transactionManager field in the servlet, I get a ClassCastException.

      If I revert the plugin to v1, the problem is gone. Was able to reproduce with Confluence 2.10-SNAPSHOT as of Oct 10, 2008.

            Assignee:
            Anatoli
            Reporter:
            DavidA
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: