[Glare] Glare v0.1 is unable to create a public artifact draft

Bug #1585584 reported by Alexander Tivelkov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
monika

Bug Description

Due to some reason the visibility field gets excluded from the valid input when creating an artifact draft. Thus it is impossible to create a public artifact in a single call: a PATCH call should follow instead.

monika (monikaparkar25)
Changed in glance:
assignee: nobody → monika (monikaparkar25)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/320912
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=9a982741dbf9859998814f878807e3cb6ef32343
Submitter: Jenkins
Branch: master

commit 9a982741dbf9859998814f878807e3cb6ef32343
Author: Alexander Tivelkov <email address hidden>
Date: Wed May 25 14:22:01 2016 +0300

    Excluded the 'visibility' from protected artifact fields

    The visibility field was one of the proptected artifact fields (along
    with 'owner', 'state' and modification timestamps) and thus it was
    forbidden to explicitly set its value during the artifact creation.

    Because of that it was impossible to create a public artifact draft in
    a single call, while that may be required.

    Also removed a redundant FIXME comment is the same code block since it
    is not validRemoved some redundant FIXME comment is the same code
    block since it is not valid.

    Change-Id: I579405ee2b79b6018a322bb46e34acde6b5b4a4a
    Closes-bug: #1585584

Changed in glance:
status: New → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/glance 13.0.0.0b1

This issue was fixed in the openstack/glance 13.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.