Closed (fixed)
Project:
User Relationships
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2007 at 00:31 UTC
Updated:
21 Sep 2007 at 16:34 UTC
Jump to comment: Most recent file
Comments
Comment #1
prfctns6@gmail.com commentedActually, it turns out this does affect functionality, as follows:
Create 2 relationships, test1 and test2, and have test2 imply test1. Delete test1. Then create and approve a relationship of type test2. Since the row is still in the implications table, approving the test2 relationship will create a new relationship; however, because relationship type test1 no longer exists, the new relationship will have an rtid of 0. This results in extraneous, odd looking relationships on the 'view all relationships' page.
Attached is a patch that cleans up the implications table when a type is deleted.
Comment #2
sprsquish commented