Problem with creating question group

Description

Stack trace appear while adding new Question Group and wrong question is removed.

To reproduce stack trace (before any question was removed):
1. Add Question Group
2. Add new Question 2 times
3. Try to change order
4. Stack trace appear

To reproduce wrong question removed:
1. Add new question group
2. Add 2 new questions
3. Remove first one
4. Add new question
5. Remove second one
Result: first one is removed.
Id assigned to question depend of the amount of questions, is not individual.

Environment

None

Status

Assignee

Paweł Reise

Reporter

Michał Spica

Labels

Implementation Priority

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

50% Estimate

None

90% Estimate

None

Deployment

None

Epic

None

Request Type

None

Requestor

None

Number of Support Tickets

None

Customer

None

Notify

None

productboard URL

None

Time tracking

16h

Fix versions

Affects versions

2.6.1

Priority

Minor