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

Provide an exception that will be thrown when a standalone task could not be created because the parent task does not exist

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0
    • Component/s: engine
    • Labels:
      None

      Description

      Steps to reproduce:

      1. create a new standalone task
      2. set the parent task id ("standaloneTask.setParentTaskId('non-existing')")
      3. save the task

      --> a NullPointerException will be thrown

      Expected behavior:
      The case that the parent task could not be found should be handled better, so that another kind of exception will be thrown instead of a NullPointerException

        Attachments

          Activity

            People

            Assignee:
            meyer Daniel Meyer
            Reporter:
            roman.smirnov Roman Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: