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

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: