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

File/Files upload doesn't append the owner ID after It's created #1313

Closed
hlayisanimazuze opened this issue Apr 12, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working ready for testing

Comments

@hlayisanimazuze
Copy link
Collaborator

hlayisanimazuze commented Apr 12, 2024

NPO has a Wizard component and an NPO organization is created in step one. In step two, the NPO ID is supposed to be used for uploading attachments. However, clicking the upload link and checking the stored file endpoint reveals that the ownerId is not appended to the file. As a result, attachments cannot be retrieved afterward

Steps to reproduce the behavior:

  1. Go to 'https://dsd-npo-adminportal-test.azurewebsites.net/shesha/workflow-action?id=c79dc464-ec9c-46d0-a68d-c42e1a6fcb9d&todoid=1a3882fb-a9f5-4df5-918b-0d044306288f'
  2. Enter the mandatory fields and click next
  3. On step 2, upload letter of authority
  4. Check the endpoint being called after uploading
  5. Actual Results: ownerId does not get called
  6. Delete the same attachment file and check the delete endpoint of the stored file
  7. Actual Results: The ownerId is appended when deleting and it does not append when uploading a new file

Expected behavior
After the entity has been created and navigate to the next step, when a file is uploaded it should append the ownerId

Step 2: When you land on step 2, it shows the below attachment
image

After uploading
image

Deleting
image

@hlayisanimazuze hlayisanimazuze added the bug Something isn't working label Apr 12, 2024
@hlayisanimazuze hlayisanimazuze changed the title File upload doesn't append the owner ID after It's created File/Files upload doesn't append the owner ID after It's created Apr 12, 2024
AlexStepantsov added a commit that referenced this issue Apr 15, 2024
File/Files upload doesn't append the owner ID after It's created #1313
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for testing
Projects
None yet
Development

No branches or pull requests

2 participants