StreetCode
StreetCode copied to clipboard
[Admin][Chronology block] Possible to add more than one historical context to the chronology card when editing existing Streetcode
trafficstars
Environment: all Reproducible: always Build found: a7d807f
Preconditions
- Open the website.
- Log in as admin.
Steps to reproduce
- Edit any existing streetcode.
- Scroll down to 'Хронологія'.
- Click on '+' to add a new card or "pencil" to edit the already existing one.
- Select three contexts from the list or create a new one.
- Click 'Зберегти'.
- Scroll down and click 'Опублікувати/Зберегти як чернетку'.
- Open this streetcode and pay attention to the chronology block.
Actual result
Three contexts are added, but not all of them are readable on the streetcode page.
Expected result Admin can add only one context.
Postconditions Also possible to add more than one context by updating Streetcode by API requests. Context data have to be new ones for this chronology card and "modelState": 0, for instance
Details
"historicalContexts": "id": 16, "title": "Визвольні змагання" "timelineId": 0, "modelState": 0
User story: #124