After upgrading GitLab to 8.2.1, we can no longer add comments to issues. 
The error stack is:

NoMethodError (undefined method `megabytes' for nil:NilClass):
  app/models/note.rb:117:in `max_attachment_size'
  lib/file_size_validator.rb:47:in `block in validate_each'
  lib/file_size_validator.rb:39:in `each'
  lib/file_size_validator.rb:39:in `validate_each'
  app/services/notes/create_service.rb:13:in `execute'
  app/controllers/projects/notes_controller.rb:24:in `create'




-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/74c6da1e-c15c-4df5-bb87-a52e30064f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to