Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download assigned record from record search #8269

Open
euanmillar opened this issue Dec 31, 2024 · 0 comments
Open

Unable to download assigned record from record search #8269

euanmillar opened this issue Dec 31, 2024 · 0 comments
Labels

Comments

@euanmillar
Copy link
Collaborator

Describe the bug
When a record that is assigned to another user is returned from search and then the audit view selected, the assigned user avatar button disappears and it appears that you can download the record. But you will get a failed to download toast. The assigned avatar should be present over the download icon and you should be prompted to unassign the record first.

To Reproduce
Steps to reproduce the behaviour:

  1. Login as a registrar
  2. Create a registration and assign it to yourself
  3. Log out and log in with a different registrar account
  4. Search for the record using the search bar or advanced search
  5. Notice that in search results list, the record appears correctly assigned to the previous user
  6. Now click the person's name to open the audit view
  7. Notice that the avatar has disappeared and it now appears that you can download the record
  8. Click download and attempt to assign the record to yourself and download it.
  9. Notice the errror toast

Expected behaviour
As regards step 7 the avatar of the assigned user should be visible, prompting you to first unassign the user before you are able to download it.

Image

OpenCRVS Core Version:

v1.6.1

Country Configuration Version:

v1.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant