sophornsna / r-labs

Automatically exported from code.google.com/p/r-labs
0 stars 0 forks source link

ActiveRecord::RecordInvalid exception when saving a job for a project #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enable hudson module for a project
2. Go to the Hudson tab of the project
3. Click the settings link
4. Enter the url to hudson
5. Click "Update Jobs"
6. Select a Job from the list, and click save

What is the expected output? What do you see instead?
Output is a blank page, the webrick log says the following:

ActiveRecord::RecordInvalid (Validation failed: translation missing: en,
field_hudson_job can't be blank):
  vendor/plugins/redmine_hudson/app/models/hudson_job.rb:33:in `after_save'

vendor/plugins/redmine_hudson/app/controllers/hudson_settings_controller.rb:150:
in
`add_job'

vendor/plugins/redmine_hudson/app/controllers/hudson_settings_controller.rb:147:
in
`each'

vendor/plugins/redmine_hudson/app/controllers/hudson_settings_controller.rb:147:
in
`add_job'

vendor/plugins/redmine_hudson/app/controllers/hudson_settings_controller.rb:33:i
n
`edit'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

What version of the product are you using? On what operating system?
Redmine 0.8.5.devel.2915
Redmine Husdon Plugin 1.0.2
Hudson ver. 1.341

Please provide any additional information below.

Original issue reported on code.google.com by r.gruend...@gmail.com on 24 Jan 2010 at 11:19