StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[Admin][Chronology block] Possible to add more than one historical context to the chronology card when editing existing Streetcode

Open iskoryk opened this issue 1 year ago • 0 comments
trafficstars

Environment: all Reproducible: always Build found: a7d807f

Preconditions

  1. Open the website.
  2. Log in as admin.

Steps to reproduce

  1. Edit any existing streetcode.
  2. Scroll down to 'Хронологія'.
  3. Click on '+' to add a new card or "pencil" to edit the already existing one.
  4. Select three contexts from the list or create a new one.
  5. Click 'Зберегти'.
  6. Scroll down and click 'Опублікувати/Зберегти як чернетку'.
  7. 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. IMG_5531

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

iskoryk avatar Mar 29 '24 10:03 iskoryk