Project

General

Profile

Actions

Bug #22009

closed

Invalid routes with NIL as a route param are selected

Added by Martin Bacovsky almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

When API method has multiple routes the one with most route parameters is picked by api bindings. While all the parameters have to be defined we do not check for NIL values.
With NILs now allowed as a valid CLI param values it is happening that selected routes are invalid when any of the route params is NIL


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Bug #17252: Unable to set empty parameter via hammerClosedMartin Bacovsky11/07/2016Actions
Actions #1

Updated by Martin Bacovsky almost 7 years ago

  • Related to Bug #17252: Unable to set empty parameter via hammer added
Actions #2

Updated by Martin Bacovsky almost 7 years ago

  • Subject changed from Routes with NIL as a route param are selected to Invalid routes with NIL as a route param are selected
Actions #3

Updated by Martin Bacovsky almost 7 years ago

  • Status changed from Assigned to Closed
  • Translation missing: en.field_release set to 290
  • Pull request https://github.com/Apipie/apipie-bindings/pull/70 added
Actions

Also available in: Atom PDF