Skip to content

Reopening a Controlling Task causes Dependent Tasks to be deleted #169

@BiglyB

Description

@BiglyB

Describe the bug
If a Controlling Task is reopened after it has triggered the creation of Dependent Tasks, then any update to the Dependent Tasks while the Controlling Task is open causes Action Plans to DELETE the dependent task that was just edited

To Reproduce
Steps to reproduce the behavior:

  1. Create an Action Plan that has at least 1 dependent Task
  2. Complete the Controlling Task so that the Dependent Task is created
  3. Reopen the Controlling Task
  4. Change the Status of the Dependent Task
  5. Refresh the record page to observe that the Dependent Task has now been deleted.

Expected behavior
The Dependent Task should accept the edit and no records should be deleted.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: OSX, Windows

  • Browser: Chrome 

  • Action Plans Version (e.g. 4.0.1) (See Setup > Installed Packages): LabsActionPlans 4.3

  • Salesforce UI

  • Classic (not tested)

  • [ X ] Lightning Experience

  • Org Edition

  • Personal

  • Contact Manager

  • Professional

  • [ X ] Enterprise

  • Unlimited

  • Developer

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions