We're updating the issue view to help you get more done. 

Unable to reuse incall destination after deleting resource

Description

Given I have a incall associate to a IVR

When I remove the IVR

Then the incall have a dialaction with linked=0

When I use API to change the destination of this incall to a user (or any other resource)

Then the dialaction with the new user still have linked=0

Then the incall is ignored by confgend

Steps to fix this:

1: delete dialaction when the resource is deleted

2: remove linked field

3. write migration script to delete all dialaction with linked=0

4. write migration script to remove linked field

Environment

None

Activity

Show:
Clément Bourgeois
December 6, 2019, 6:11 PM

Is about to be merged

Mehdi Abaakouk
December 11, 2019, 12:45 PM

We have a grooming planned to fix this in a saner way.

François Blackburn
January 24, 2020, 2:13 PM

The linked field should be removed from the database

Assignee

François Blackburn

Reporter

Clément Bourgeois

Approvers

Alexandre Fournier

Pair

None

Sprint

None

Fix versions

Epic Link

Priority

Highest
Configure