Bug 1552824 - Can Add Duplicate Custom Attributes on OpenShift Provider Via the API
Summary: Can Add Duplicate Custom Attributes on OpenShift Provider Via the API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.2
Assignee: Gregg Tanzillo
QA Contact: Martin Kourim
URL:
Whiteboard:
Depends On: 1544800
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-07 19:51 UTC by Satoe Imaishi
Modified: 2022-07-09 09:31 UTC (History)
2 users (show)

Fixed In Version: 5.9.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1544800
Environment:
Last Closed: 2018-05-07 20:44:14 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 0 None None None 2018-05-07 20:44:34 UTC

Comment 2 CFME Bot 2018-03-07 20:08:16 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/deb7a2bd83dee986ae77a7c268fe6a8a0fe6f117
commit deb7a2bd83dee986ae77a7c268fe6a8a0fe6f117
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Wed Feb 14 08:40:45 2018 -0500
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Wed Feb 14 08:40:45 2018 -0500

    Merge pull request #320 from jntullo/custom_attrs_create

    Default section to "metadata" across custom attributes add action
    (cherry picked from commit 2ef6cfe981f78c56443088685c9b21411db55bec)

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

 app/controllers/api/subcollections/custom_attributes.rb | 2 +-
 spec/requests/custom_attributes_spec.rb | 20 +
 2 files changed, 21 insertions(+), 1 deletion(-)

Comment 4 Dave Johnson 2018-04-04 17:53:41 UTC
Martin, should this be on you or pushed to someone else?

Comment 5 Martin Kourim 2018-04-06 14:31:21 UTC
Verified on 5.9.2.0 that adding a custom attribute with the same name as an existing attribute updates the existing attribute.

Comment 8 errata-xmlrpc 2018-05-07 20:44:14 UTC
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-2018:1328


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