tripal / brapi

Breeding API client-server implementation (v1 & v2) for Tripal
https://www.drupal.org/project/brapi
0 stars 3 forks source link

Fix BRAVA Error on /locations listing of location data #27

Closed RichardBruskiewich closed 5 years ago

RichardBruskiewich commented 5 years ago

BRAVA Test Failure:

Test: Json matches schema: /schemas/v1.2/locations.json

Response structure doesn't match Schema.

Error: validation - type In element: /result/data/*/name Expected: string Found: null Message: instance type (null) does not match any allowed primitive type (allowed: ["string"])

(note: '*' denotes any number of location id's

guignonv commented 5 years ago

Fixed by commit 91622f26264e8506c889b4fed3aa9b8b94ec7120