Skip to content

Personal values questionnaire sends wrong id to backend #386

@Svenstar74

Description

@Svenstar74

Describe the bug

Error in sentry
When a questionnaire has been finished, an array of answers will be send to the backend. For set one of the questions, the ids should be from 1 to 10, while the set two should contain questions with ids from 11 to 20.
It seems that sometimes (that's what the sentry error log shows), an invalid id is present in a question set, like -5.

To Reproduce

It's unclear when and how this happens.

Expected behavior

When set one is used, the api call should always have ids from 1 to 10.
When set two is used, the api call should always have ids form 11 to 20.
No other ids should be possible.

Task

Unclear

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions