I have a drop down list custom field that has contains a list of all my clients. Every issue is required to have a client assigned. I went and renamed one field in the drop down list, and all my issues have been reassigned to that custom field. I now have to go through ALL of my issues and reassign them to the right clients!
Comments: I believe I found this issue in the update stored procedure. If the old selection value is not equal to the new custom field selection value (has been updated) it updates ALL values for that custom field. ``` IF (@OldSelectionValue != @CustomFieldSelectionValue) BEGIN UPDATE BugNet_ProjectCustomFieldValues SET CustomFieldValue = @CustomFieldSelectionValue WHERE CustomFieldId = @CustomFieldId END ``` It should only modify values that had the "OldSelectionValue" like below __(still to be tested)__ ``` IF (@OldSelectionValue != @CustomFieldSelectionValue) BEGIN UPDATE BugNet_ProjectCustomFieldValues SET CustomFieldValue = @CustomFieldSelectionValue WHERE CustomFieldId = @CustomFieldId AND CustomFieldValue = @OldSelectionValue END ```
Comments: I believe I found this issue in the update stored procedure. If the old selection value is not equal to the new custom field selection value (has been updated) it updates ALL values for that custom field. ``` IF (@OldSelectionValue != @CustomFieldSelectionValue) BEGIN UPDATE BugNet_ProjectCustomFieldValues SET CustomFieldValue = @CustomFieldSelectionValue WHERE CustomFieldId = @CustomFieldId END ``` It should only modify values that had the "OldSelectionValue" like below __(still to be tested)__ ``` IF (@OldSelectionValue != @CustomFieldSelectionValue) BEGIN UPDATE BugNet_ProjectCustomFieldValues SET CustomFieldValue = @CustomFieldSelectionValue WHERE CustomFieldId = @CustomFieldId AND CustomFieldValue = @OldSelectionValue END ```