Bug 1769968 - Cannot edit service dialog. API Status 404 Not Found error
Summary: Cannot edit service dialog. API Status 404 Not Found error
Status: POST
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.8
Hardware: All
OS: All
Target Milestone: GA
: 5.12.0
Assignee: Martin Hradil
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
Depends On:
Blocks: 1772932 1772933
TreeView+ depends on / blocked
Reported: 2019-11-07 20:07 UTC by Tuan
Modified: 2020-01-09 03:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1772932 1772933 (view as bug list)
Last Closed:
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:

Attachments (Terms of Use)

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

commit f162d770786f02d05c9ce35d6b27ebb41bdad4ea
Author:     Martin Hradil <mhradil@redhat.com>
AuthorDate: Thu Nov  7 17:25:25 2019 -0500
Commit:     Martin Hradil <mhradil@redhat.com>
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(-)

commit b337fcc12e52a0b8ca4cdca4244a276c44c19416
Author:     Martin Hradil <mhradil@redhat.com>
AuthorDate: Thu Nov 14 07:11:58 2019 -0500
Commit:     Martin Hradil <mhradil@redhat.com>
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(-)

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