Project

General

Profile

Actions

Defect #3978

closed

Broken CustomValues after 'User groups branch merged' commit @2869

Added by Alexander Oryol about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
-
Start date:
2009-10-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

After commit @2869 user custom values not accessible.
For fix need update table 'custom_values' replace 'customized_type' = 'User' to 'Principal'.

CustomValues.find(:all, :conditions => ['customized_type = ?', 'User']).each do |custom_value|
custom_value.update_attribute(:customized_type, 'Principal')
end

Actions

Also available in: Atom PDF