← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1714348] [NEW] pecan is missing some body validation logic from legacy API

 

Public bug reported:

The legacy controller validated the following things that the pecan API
is not.

* delete requests have no body

* the body must contain a resource or resources when POSTing to the
general collection controller

* All POSTed json must be a dict


These gaps were discovered when switching the unit tests to use pecan instead of the old legacy API.

** Affects: neutron
     Importance: High
         Status: New

** Changed in: neutron
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1714348

Title:
  pecan is missing some body validation logic from legacy API

Status in neutron:
  New

Bug description:
  The legacy controller validated the following things that the pecan
  API is not.

  * delete requests have no body

  * the body must contain a resource or resources when POSTing to the
  general collection controller

  * All POSTed json must be a dict

  
  These gaps were discovered when switching the unit tests to use pecan instead of the old legacy API.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1714348/+subscriptions


Follow ups