Bug 1769968 - Cannot edit service dialog. API Status 404 Not Found error
Summary: Cannot edit service dialog. API Status 404 Not Found error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.8
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.12.0
Assignee: Martin Hradil
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1772932 1772933
TreeView+ depends on / blocked
 
Reported: 2019-11-07 20:07 UTC by Tuan
Modified: 2023-03-24 15:57 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)
Environment:
Last Closed: 2020-06-10 12:59:49 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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(-)


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