Created attachment 1055896 [details] err Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a service dialog of type "drop down list " 2. Enter some data in Entries table in Value and description and Save (without adding the entry) 3. See error Actual results: Expected results: Additional info: EVM log ======================= [----] E, [2015-07-24T18:47:12.530133 #2449:74bea4] ERROR -- : MIQ(miq_ae_customization_controller-dialog_edit): undefined method `first' for nil:NilClass [----] I, [2015-07-24T18:47:15.916764 #2445:95be9c] INFO -- : MIQ(ScheduleWorker.do_work) Number of scheduled items to be processed: 1. [----] I, [2015-07-24T18:47:15.937568 #2445:95be9c] INFO -- : MIQ(MiqQueue.put) Message id: [126776], id: [], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: [] [----] I, [2015-07-24T18:47:17.891641 #2196:963ea8] INFO -- : MIQ(MiqServer.populate_queue_messages) Fetched 1 miq_queue rows for queue_name=generic, wcount=4, priority=200 [----] I, [2015-07-24T18:47:17.895734 #2196:963ea8] INFO -- : MIQ(MiqServer.monitor_loop) Server Monitoring Complete - Timings: {:server_dequeue=>0.0031731128692626953, :worker_monitor=>1.3615233898162842, :worker_dequeue=>0.007665395736694336, :total_time=>1.3727595806121826} [----] I, [2015-07-24T18:47:17.978537 #2434:949ea4] INFO -- : MIQ(MiqQueue.get_via_drb) Message id: [126776], MiqWorker id: [50], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [dequeue], Deliver On: [], Data: [], Args: [], Dequeued in: [2.058480673] seconds [----] I, [2015-07-24T18:47:17.978665 #2434:949ea4] INFO -- : Q-task_id([job_dispatcher]) MIQ(MiqQueue.deliver) Message id: [126776], Delivering... [----] I, [2015-07-24T18:47:17.980363 #2434:949ea4] INFO -- : Q-task_id([job_dispatcher]) MIQ(JobProxyDispatcher-dispatch) Complete - Timings: {:pending_jobs=>0.00046181678771972656, :jobs_to_dispatch_count=>0, :total_time=>0.0014066696166992188} [----] I, [2015-07-24T18:47:17.980585 #2434:949ea4] INFO -- : Q-task_id([job_dispatcher]) MIQ(MiqQueue.delivered) Message id: [126776], State: [ok], Delivered in [0.001915312] seconds
Issue can be recreated at https://10.16.5.87. Select Drop down list in the element and save without adding any entries
https://github.com/ManageIQ/manageiq/pull/3687
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4 commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4 Author: Dávid Halász <dhalasz> AuthorDate: Mon Aug 3 10:07:00 2015 +0200 Commit: Dávid Halász <dhalasz> CommitDate: Fri Aug 21 12:07:41 2015 +0200 Raise error when a newly created dialog dropdown has no entries https://bugzilla.redhat.com/show_bug.cgi?id=1246693 app/controllers/miq_ae_customization_controller/dialogs.rb | 4 ++++ .../miq_ae_customization_controller/dialogs_spec.rb | 13 +++++++++++++ 2 files changed, 17 insertions(+)
Verified on upstream master.20150831201655_178618c
Flash message "Dropdown elements require some entries" displayed in UI Verified in 5.5.0.3-alpha1.2.20150929172214_2eda7b4
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551