Skip to content
This repository was archived by the owner on Nov 7, 2018. It is now read-only.
This repository was archived by the owner on Nov 7, 2018. It is now read-only.

Data validation on User Story JSON file is missing - API service crashes #3

@arturonuman

Description

@arturonuman

Steps to reproduce it:

  • Making use of an existing User Story JSON file, leave blank the 'source' property.
  • Reload the dashboard's home page.

Expected Behaviour:

  • Data validation should be in place when reading User Story JSON files.
  • The dashboard's home page should load all remaining User Story JSON files except for the one with errors (missing a mandatory value or with an invalid/malformed json structure).
  • Let the user know, with an appropriate error message, the errors while loading the User Story.

Actual Behaviour:

  • The dashboard's home page doesn't load correctly.
  • The console error message is "Failed to load resource: net::ERR_CONNECTION_REFUSED"
  • The API service crashes.

image

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions