Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12716

Custom HistoryEventHandler automatically wrapped by CompositeDbHistoryEventHandler

    • Icon: Bug Report Bug Report
    • Resolution: None
    • Icon: L3 - Default L3 - Default
    • None
    • 7.13.0
    • spring-boot
    • None

      According to docs https://docs.camunda.org/manual/7.13/user-guide/process-engine/history/#provide-a-custom-history-backend when implementing a custom HistoryEventHandler, the default DbHistoryEventHandler gets disabled.

      In version 7.10, this was the behaviour. Only our own custom HistoryEventHandler was active.

      Since upgrading to 7.13, our own handler automatically gets wrapped inside a CompositeDbHistoryEventHandler, causing the DbHistoryEventHandler to still be active.

      This is unwanted behaviour, and in contradiction to the docs.

       

      Observation:

      Run processEngineConfiguration.getHistoryEventHandler()

      7.10 result:

      <our own historyEventHandler class>

      7.13 result: 

      org.camunda.bpm.engine.impl.history.handler.CompositeDbHistoryEventHandler

        This is the controller panel for Smart Panels app

            [CAM-12716] Custom HistoryEventHandler automatically wrapped by CompositeDbHistoryEventHandler

            Paul Mutser created issue -
            Miklas Boskamp made changes -
            Mentioned Roles
            Miklas Boskamp made changes -
            Mentioned Groups
            Miklas Boskamp made changes -
            Assignee New: Miklas Boskamp [ miklas.boskamp ]
            Miklas Boskamp made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Paul Mutser made changes -
            Description Original: According to docs [https://docs.camunda.org/manual/7.13/user-guide/process-engine/history/#provide-a-custom-history-backend|https://docs.camunda.org/manual/7.13/user-guide/process-engine/history/#provide-a-custom-history-backend,] when implementing a custom HistoryEventHandler, the default DbHistoryEventHandler gets disabled.

            In version 7.10, this was the behaviour. Only our own custom HistoryEventHandler was active.

            Since upgrading to 7.13, our own handler automatically gets wrapped inside a CompositeDbHistoryEventHandler, causing the DbHistoryEventHandler to still be active.

            This is unwanted behaviour, and in contradiction to the docs.

             
            h3. Observation:

            Run {{processEngineConfiguration.getHistoryEventHandler()}}

            7.10 result:

            <our own historyEventHandler class>

            7.13 result: 

            {{org.camunda.bpm.engine.impl.history.handler.CompositeDbHistoryEventHandler}}
            New: According to docs [https://docs.camunda.org/manual/7.13/user-guide/process-engine/history/#provide-a-custom-history-backend|https://docs.camunda.org/manual/7.13/user-guide/process-engine/history/#provide-a-custom-history-backend] when implementing a custom HistoryEventHandler, the default DbHistoryEventHandler gets disabled.

            In version 7.10, this was the behaviour. Only our own custom HistoryEventHandler was active.

            Since upgrading to 7.13, our own handler automatically gets wrapped inside a CompositeDbHistoryEventHandler, causing the DbHistoryEventHandler to still be active.

            This is unwanted behaviour, and in contradiction to the docs.

             
            h3. Observation:

            Run {{processEngineConfiguration.getHistoryEventHandler()}}

            7.10 result:

            <our own historyEventHandler class>

            7.13 result: 

            {{org.camunda.bpm.engine.impl.history.handler.CompositeDbHistoryEventHandler}}
            Paul Mutser made changes -
            Mentioned Roles
            Paul Mutser made changes -
            Mentioned Groups
            Paul Mutser made changes -
            Mentioned Roles
            Paul Mutser made changes -
            Mentioned Groups
            Paul Mutser made changes -
            Mentioned Roles
            Paul Mutser made changes -
            Mentioned Groups

              miklas.boskamp Miklas Boskamp
              p.mutser Paul Mutser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: