Skip to content

[Regions/Округи] The wrong region is shown when assigning a role for the user who changed the region #2938

@ystrotska

Description

@ystrotska

Environment: Windows 10 Pro, Google Chrome version 103.0.5060.114 (development)(64-bit).
Reproducible: always.
Build found: 6f91a24

Preconditions
The user should change the city/village that belongs to another region than was indicated while the user's registration.

Steps to reproduce

  1. Sign in as a super admin at https://eplast.westeurope.cloudapp.azure.com/
  2. Go to the left-side menu and click on the user's table
  3. Right-click on the user whose region while registration is different from the city/region he belongs actually
  4. Choose the "Додати в провід округи" option
  5. Check the name of the region/округа
  6. Fill in the fields in the popup menu and click on the "Опублікувати" button
  7. Check the notification in the user's profile
  8. Follow the link in the notification about assigning the new role in the Region/Округи

Actual result

  1. The user is notified the role was given in the region/окрузі that was indicated in the registration form.
  2. The admin sees the wrong region in the popup menu when assigning the role from the user's table.

wrong region in the notification
region in registration form

assigning role in the region different from indicated while user's registration

region's administration
role assigned in the newly joined region

Expected result

  1. The user should be notified the role was given in the actual region/окрузі
  2. The admin should see the actual region in the popup menu when assigning the role from the user's table.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions