Skip to content

GenericFacetedListView not validating input (ValueError) #4497

Description

@mauromsl

Describe the bug
A ValueError is being raised from ORM queries, rather than validating input on the /articles page

Janeway version
v1.7.2

To Reproduce
Alter an ID on a selection field to enter an invalid value (e.g. "368'123".)

Expected behavior
Form should not validate and avoid sending invalid types via ORM

Screenshots
If applicable, add screenshots to help explain your problem.

Front-end Issues

If the issue is front-end specific please add the following details:

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething's not working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions