Documentation: Incorrect status code when user creates incorrect directory

Bug #1269319 reported by Sergey Murashov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Ekaterina Chernova

Bug Description

Need to change the information about status codes in documentation:
http://murano-docs.github.io/0.4/developers-guide/content/ch05s02s02s04.html

Need to remove information aboult the 403 status code when user creates incorrect directory.
Now the real behaviour of Murano Metadata repository API does not meet the documentation:

Steps to reproduce:
1. Install murano from 0.4 branch
2. Send PUT /admin/workflows/testdir
3. Upload file in workflows/testdir
4. Send PUT /admin/workflows/testdir

Expected result:
Accordingly to the documentation:
After second PUT request to /admin/workflows/testdir we should get 403 status code

Actual result:
After second PUT request to /admin/workflows/testdir we get 200 status code

Tags: verified
summary: - Murano metadata repository return incorrect status code
+ Metadata Repository: Incorrect status code when user creates incorrect
+ directory
Changed in murano:
importance: Undecided → Medium
assignee: nobody → Ekaterina Fedorova (efedorova)
milestone: none → 0.4.1
Revision history for this message
Ekaterina Chernova (efedorova) wrote : Re: Metadata Repository: Incorrect status code when user creates incorrect directory

This is by design

Changed in murano:
status: New → Won't Fix
Revision history for this message
Sergey Murashov (smurashov) wrote :

Need to fix documentation

Changed in murano:
status: Won't Fix → Confirmed
description: updated
Revision history for this message
Sergey Murashov (smurashov) wrote :
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

Ok, I'll fix documentation

tags: added: documantation
description: updated
summary: - Metadata Repository: Incorrect status code when user creates incorrect
+ Documentation: Incorrect status code when user creates incorrect
directory
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-docs (master)

Fix proposed to branch: master
Review: https://review.openstack.org/67176

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-docs (master)

Reviewed: https://review.openstack.org/67176
Committed: https://git.openstack.org/cgit/stackforge/murano-docs/commit/?id=2fa3e2fb876b783042793a7db59ba7f79848f0d5
Submitter: Jenkins
Branch: master

commit 2fa3e2fb876b783042793a7db59ba7f79848f0d5
Author: Ekaterina Fedorova <email address hidden>
Date: Thu Jan 16 18:38:26 2014 +0400

    Remove error code during creation existing directory

    Change-Id: Iccf613a0d0f66936201105a003a6efda3cb795e0
    Closes-bug: #1269319

Changed in murano:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-docs (release-0.4)

Fix proposed to branch: release-0.4
Review: https://review.openstack.org/67835

tags: added: verified
removed: documantation
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-docs (release-0.4)

Reviewed: https://review.openstack.org/67835
Committed: https://git.openstack.org/cgit/stackforge/murano-docs/commit/?id=8c4643abc5d57fdbc3ddaa7f4d285c8a5792d08b
Submitter: Jenkins
Branch: release-0.4

commit 8c4643abc5d57fdbc3ddaa7f4d285c8a5792d08b
Author: Ekaterina Fedorova <email address hidden>
Date: Thu Jan 16 18:32:44 2014 +0400

    Cherry pick from master branch

        * Remove error code during creation existing directory

          Closes-bug: #1269319

        * Fix issues in admin guide

          * comments mentioned in https://review.openstack.org/#/c/65926/
          * document style (XML style, formatting issues)

          Closes-Bug: 1268537

    Change-Id: I726d8b8849b2ccd44fdbf9d7b4ce65f3a62cf4aa

Changed in murano:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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