[Glare] Glare v0.1 is unable to create a public artifact draft
Bug #1585584 reported by
Alexander Tivelkov
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.
Changed in glance: | |
assignee: | nobody → monika (monikaparkar25) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/320912 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=9a982741dbf 9859998814f8788 07e3cb6ef32343
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a982741dbf9859 998814f878807e3 cb6ef32343
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: I579405ee2b79b6 018a322bb46e34a cde6b5b4a4a
Closes-bug: #1585584