Actions
Defect #19234
closedProblem with prefilled issue forms and custom fields
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Affected version:
Description
we have a big problem. we prefill the issue form with this url
since redmine 3 this will no longer work.
Updated by Marco Scholl about 9 years ago
In Issue#safe_attributes the editable_custom_field_values(user) method return an empty list. so the parameter will dropped.
Updated by Marco Scholl about 9 years ago
so i have found the problem. the tracker isn't filled with default tracker. so the editable_custom_field couldn't find any custom fields. i think the issue model should prefilled with default.
as workaround i must set the tracker manual -> &issue[tracker_id]=ID.
Updated by Jean-Philippe Lang about 9 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
Yes, custom fields depends on the issue tracker. You now need to provide a tracker_id if you want to set default values for the issue custom fields.
Actions