Bug 1479571 - Internal Server Error when creating schedule for automate task
Internal Server Error when creating schedule for automate task
Status: CLOSED DUPLICATE of bug 1479570
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate (Show other bugs)
All All
unspecified Severity medium
: GA
: cfme-future
Assigned To: Tasos Papaioannou
Tasos Papaioannou
Depends On:
  Show dependency treegraph
Reported: 2017-08-08 16:30 EDT by Tasos Papaioannou
Modified: 2017-08-16 11:13 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-08-10 10:13:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tasos Papaioannou 2017-08-08 16:30:51 EDT
Description of problem:

If you select then unselect an Object Attribute Type when creating or editing an Automation Task schedule, an Internal Server Error pop-up window appears.

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1.) Create a schedule, selecting Automation Tasks under Action.
2.) Select a value from the dropdown list under Object Attribute Type.
3.) Undo the selection by selecting "<Choose>" from the dropdown.
4.) See pop-up window with Internal Server Error:

Status 500 Internal Server Error
Content-Type text/html; charset=utf-8
Data wrong constant name null [ops/fetch_target_ids]

Actual results:

Internal Server Error.

Expected results:

No Internal Server Error.

Additional info:

From production.log:

[----] F, [2017-08-08T15:46:29.376420 #3090:1740d78] FATAL -- : Error caught: [NameError] wrong constant name null
/opt/rh/cfme-gemset/gems/activesupport- `const_get'
/opt/rh/cfme-gemset/gems/activesupport- `block in constantize'
/opt/rh/cfme-gemset/gems/activesupport- `each'
/opt/rh/cfme-gemset/gems/activesupport- `inject'
/opt/rh/cfme-gemset/gems/activesupport- `constantize'
/opt/rh/cfme-gemset/gems/activesupport- `constantize'
/var/www/miq/vmdb/lib/rbac/filterer.rb:499:in `to_class'
/var/www/miq/vmdb/lib/rbac/filterer.rb:499:in `to_class'
/var/www/miq/vmdb/lib/rbac/filterer.rb:192:in `search'
/var/www/miq/vmdb/lib/rbac/filterer.rb:97:in `search'
/var/www/miq/vmdb/lib/rbac.rb:3:in `search'
/var/www/miq/vmdb/lib/rbac/filterer.rb:262:in `filtered'
/var/www/miq/vmdb/lib/rbac/filterer.rb:101:in `filtered'
/var/www/miq/vmdb/lib/rbac.rb:11:in `filtered'
/var/www/miq/vmdb/app/controllers/ops_controller/settings/automate_schedules.rb:21:in `fetch_target_ids'
/opt/rh/cfme-gemset/gems/actionpack- `send_action'
/opt/rh/cfme-gemset/gems/actionpack- `process_action'
/opt/rh/cfme-gemset/gems/actionpack- `process_action'
/opt/rh/cfme-gemset/gems/actionpack- `block in process_action'
/opt/rh/cfme-gemset/gems/activesupport- `call'
/opt/rh/cfme-gemset/gems/activesupport- `block (2 levels) in compile'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call'
/opt/rh/cfme-gemset/gems/activesupport- `call'
/opt/rh/cfme-gemset/gems/actionpack- `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call'
/opt/rh/cfme-gemset/gems/railties- `call'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/configuration.rb:224:in `call'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:561:in `handle_request'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:406:in `process_client'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:271:in `block in run'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] I, [2017-08-08T15:52:27.051223 #3090:174187c]  INFO -- :   Rendered layouts/_footer.html.haml (0.2ms)
[----] I, [2017-08-08T15:52:27.051458 #3090:174187c]  INFO -- : Completed 500 Internal Server Error in 28ms (Views: 18.4ms | ActiveRecord: 0.0ms)
Comment 2 Greg McCullough 2017-08-10 10:13:33 EDT

*** This bug has been marked as a duplicate of bug 1479570 ***

Note You need to log in before you can comment on or make changes to this bug.