License upload doesn't work in 8.15
I spun up an EE instance to do some testing for a customer and hit a 500 trying to upload the license. The following error is thrown when trying to upload:
Started POST "/admin/license" for 172.16.219.1 at 2016-12-22 19:57:27 +0000
Processing by Admin::LicensesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"exd+qXBSuegC1NzmYxEKZfQM25ifh5luigFri3L0u7F0LvRHB48qwSwzjsnJfZkM+uZvDuBQVSCZH9In1nFhrw==", "license_type"=>"file", "license"=>{"data_file"=>#<UploadedFile:0x007f86d0918738 @content_type="application/octet-stream", @original_filename="GitLabInc.gitlab-license", @tempfile=#<File:/opt/gitlab/embedded/service/gitlab-rails/public/uploads/tmp/multipart-877844824/GitLabInc.gitlab-license>>, "data"=>""}}
Completed 500 Internal Server Error in 35ms (ActiveRecord: 5.0ms)
NoMethodError (undefined method `split' for nil:NilClass):
app/models/license.rb:55:in `license'
app/models/license.rb:62:in `license?'
app/models/license.rb:112:in `valid_license'
app/controllers/admin/licenses_controller.rb:31:in `block in create'
app/controllers/admin/licenses_controller.rb:30:in `create'
lib/gitlab/middleware/multipart.rb:98:in `block in call'
lib/gitlab/middleware/multipart.rb:53:in `with_open_files'
lib/gitlab/middleware/multipart.rb:97:in `call'
lib/gitlab/request_profiler/middleware.rb:15:in `call'
lib/gitlab/middleware/go.rb:16:in `call'
lib/gitlab/middleware/readonly_geo.rb:29:in `call'
Could be related to changes in workhorse and file uploads?