Bug 1769968

Summary: Cannot edit service dialog. API Status 404 Not Found error
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED NOTABUG QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.8CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1772932 1772933 (view as bug list) Environment:
Last Closed: 2020-06-10 12:59:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1772932, 1772933    

Comment 5 CFME Bot 2019-11-15 07:22:07 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/f162d770786f02d05c9ce35d6b27ebb41bdad4ea
commit f162d770786f02d05c9ce35d6b27ebb41bdad4ea
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Nov  7 17:25:25 2019 -0500
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Nov  7 17:25:25 2019 -0500

    Dialog Editor - make sure all ids are strings in javascript

    for regions > 9006, our bigint ids become floats in javascript, and can be off-by-one.

    This makes sure dialog editor works in those regions.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1769968

 app/helpers/miq_ae_customization_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


https://github.com/ManageIQ/manageiq-ui-classic/commit/b337fcc12e52a0b8ca4cdca4244a276c44c19416
commit b337fcc12e52a0b8ca4cdca4244a276c44c19416
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Nov 14 07:11:58 2019 -0500
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Nov 14 07:11:58 2019 -0500

    ExplorerPresenter - always convert recordId and parentId to string, unless nil

    Most of the code setting `presenter[:record_id]` or `:parent_id` is not doing the `.to_s` conversion necessary for javascript,
    so ExplorerPresenter should do it.

    (Also removes the now extra .to_s from the 2 calls that were actually right before.)

    Fixes toolbar Edit button not working on a service dialog detail screen.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1769968

 app/controllers/infra_networking_controller.rb | 2 +-
 app/controllers/vm_common.rb | 2 +-
 app/presenters/explorer_presenter.rb | 5 +-
 3 files changed, 5 insertions(+), 4 deletions(-)