Project

General

Profile

Actions

Defect #3978

closed

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

Added by Alexander Oryol over 14 years ago. Updated over 14 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 #1

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fix committed in r2905. Thanks for pointing this out.

Actions

Also available in: Atom PDF