Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1246693 - Service dialog : Adding a service dialog of "Drop down list " type without adding entries shows error
Service dialog : Adding a service dialog of "Drop down list " type without ad...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.4.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.5.0
Assigned To: Dávid Halász
Aziza Karol
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-24 18:50 EDT by Shveta
Modified: 2015-12-08 08:24 EST (History)
7 users (show)

See Also:
Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-08 08:24:01 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
err (78.14 KB, image/png)
2015-07-24 18:50 EDT, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Shveta 2015-07-24 18:50:10 EDT
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
Comment 3 Shveta 2015-07-31 14:12:36 EDT
Issue can be recreated at https://10.16.5.87.
Select Drop down list in the element and save without adding any entries
Comment 5 CFME Bot 2015-08-22 00:41:39 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 6 CFME Bot 2015-08-22 00:47:20 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 7 CFME Bot 2015-08-22 00:53:25 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 8 CFME Bot 2015-08-22 01:00:12 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 9 CFME Bot 2015-08-22 01:15:23 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 10 CFME Bot 2015-08-22 02:06:13 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 11 CFME Bot 2015-08-22 02:09:06 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 12 CFME Bot 2015-08-22 02:26:41 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 13 CFME Bot 2015-08-22 02:38:37 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 14 CFME Bot 2015-08-22 02:51:54 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 15 CFME Bot 2015-08-22 03:04:32 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4

commit 6b0a8870838971ccb2fe0c4eb4455abf2f9fe0b4
Author:     Dávid Halász <dhalasz@redhat.com>
AuthorDate: Mon Aug 3 10:07:00 2015 +0200
Commit:     Dávid Halász <dhalasz@redhat.com>
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(+)
Comment 16 Shveta 2015-08-31 21:04:17 EDT
Verified on upstream master.20150831201655_178618c
Comment 17 Aziza Karol 2015-10-01 07:08:19 EDT
Flash message "Dropdown elements require some entries" displayed in UI

Verified in 5.5.0.3-alpha1.2.20150929172214_2eda7b4
Comment 19 errata-xmlrpc 2015-12-08 08:24:01 EST
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

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