Ticket #4070 (closed Bugs: fixed)

Opened 2 years ago

Last modified 7 months ago

When deleting an extension, entry in ringgroups, queues and follow-me remains

Reported by: mickecarlsson Assigned to: p_lindheimer
Priority: minor Milestone: 2.10
Component: Ring Groups Version: 2.6-branch
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Populate a ring group with extensions, say 100, 101, 102 etc. Delete extension 101, it remains in ring group.

A check is needed to clean up ring groups when deleting extensions.

This is something in between a Feature Request and a Bug, setting as a bug for now, please feel free to change.

Change History

02/28/10 09:59:57 changed by p_lindheimer

  • milestone changed from Cut Line to 2.8.

05/22/10 10:27:03 changed by p_lindheimer

  • milestone changed from 2.8 to Cut Line.

the same issue exists for followme. This is a somewhat non-trivial fix. It requires a hook in ringgroups and followme that check for deletion, then look for any usage of that extension and adjust appropriately.

The ringgroup/followme extensions are currently kept in a single field in the sql array which means parsing through that and modifying accordingly. This is further complicated in followme since the entries are stored in the astdb as well.

In all cases except the nnn# form of an extension entry, the stale data is of no harm as the extensions is detected as non-existent and bypassed.

Queues also has this same issue and should be added to the list.

Deferring this for now given its non-trivial nature and potential to introduce new bugs if not carefully done and tested.

02/26/11 12:21:29 changed by p_lindheimer

  • milestone changed from Cut Line to 2.10.

07/08/11 17:37:09 changed by mickecarlsson

(In [12298]) Re #4070 hook ringgroups into core so that we can remove extensions in ringgroups when deleting an extensions. This is work in progress

07/09/11 04:41:16 changed by mickecarlsson

(In [12299]) Re #4070, more tweaks

07/10/11 08:12:22 changed by mickecarlsson

  • summary changed from When deleting an extension, entry in ringgroups remains to When deleting an extension, entry in ringgroups, queus and follow-me remains.

07/10/11 08:12:41 changed by mickecarlsson

  • summary changed from When deleting an extension, entry in ringgroups, queus and follow-me remains to When deleting an extension, entry in ringgroups, queues and follow-me remains.

07/24/11 14:25:00 changed by mickecarlsson

(In [12314]) Re #4070, hook queues into core so that we can remove members in queues when deleting an extensions. This is still work in progress

07/24/11 14:31:06 changed by mickecarlsson

(In [12315]) Re #4070 Stupid editor converted tabs to spaces, corrected.

07/24/11 15:41:06 changed by mickecarlsson

(In [12316]) Re #4070, strip the penalty before delete from database, else only members with penalty 0 will be deleted.

07/25/11 01:47:33 changed by mickecarlsson

  • status changed from new to closed.
  • resolution set to fixed.

I just tested deleting an extension with followme, followme was also deleted.

So I declare this ticket fixed and hereby close it.