Activiti
  1. Activiti
  2. ACT-907

Timer start event triggers twice

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.9
    • Component/s: Engine
    • Labels:
    • Testcase included:
      yes
    • Number of attachments :
      3

      Description

      This bug comes from http://forums.activiti.org/en/viewtopic.php?f=6&t=2218. More information could be found there.

      create a timer start event, set the time to a simple time duration, something like
      <timerEventDefinition>
      <timeDuration>P10D</timeDuration>
      </timerEventDefinition>

      and connect it to a simple service task. It is expected that the service task triggers once after the specified time.
      But it is triggered twice. One at the right moment and one just when the process is started.

      A test case showing the bug is attached.

      1. act_907_1.patch
        36 kB
        saeid mirzaei
      2. patch_act_907.patch
        1.0 kB
        saeid mirzaei
      3. testTimerProject.tgz
        9 kB
        saeid mirzaei

        Activity

        Frederik Heremans made changes -
        Field Original Value New Value
        Fix Version/s Sooner [ 17208 ]
        Fix Version/s 5.7 [ 17386 ]
        saeid mirzaei made changes -
        Attachment act_907_1.patch [ 58303 ]
        saeid mirzaei made changes -
        Attachment patch_act_907.patch [ 58577 ]
        Tijs Rademakers made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Tijs Rademakers [ trademak ]
        Fix Version/s 5.9 [ 17655 ]
        Fix Version/s Sooner [ 17208 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Tijs Rademakers
            Reporter:
            saeid mirzaei
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 10 hours
              10h
              Remaining:
              Remaining Estimate - 10 hours
              10h
              Logged:
              Time Spent - Not Specified
              Not Specified