Rails application failed to start properly when editing issue in production mode
Added by Jim Keller almost 15 years ago
I upgraded to trunk today and although most of Redmine is working fine, there's a strange error when trying to edit the status of an issue.
when I try to edit an issue ( e.g. a URL of /issues/1113/edit ), I receive a "rails application failed to start properly" 500 error. If I set my environment to development, it stops happening.
I did some digging and traced the issue to the following method in issue.rb:
def safe_attributes=(attrs, user=User.current) return if attrs.nil? self.attributes = attrs.reject {|k,v| !SAFE_ATTRIBUTES.include?(k)} end
if I remove the assignment of self.attributes, it works. However, it looks like doing that would mean that workflow permissions aren't respected, so I don't want to leave it commented out. My Rails version is 2.3.4.
Any ideas would be appreciated. Thanks.
Replies (1)
RE: Rails application failed to start properly when editing issue in production mode - Added by Jim Keller almost 15 years ago
also, this message should probably be moved to the help forum