Actions
Patch #30971
openprincipals_options_for_select does not select user when user id is numeric
Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
To fix it : In application Helper L487
convert selected to string if it is an integer
if selected.is_a?(Integer)
selected_s = selected.to_s
else
selected_s = selected
end
selected_attribute = ' selected="selected"' if option_value_selected?(element, selected) || element.id.to_s == selected_s
Actions