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

Re-clicking on "Upload" file button & cancelling it gives error. #121

Closed
2 tasks
shashwatbangar opened this issue Dec 28, 2022 · 1 comment · Fixed by #139 or #143
Closed
2 tasks

Re-clicking on "Upload" file button & cancelling it gives error. #121

shashwatbangar opened this issue Dec 28, 2022 · 1 comment · Fixed by #139 or #143
Assignees
Labels
bug Something isn't working

Comments

@shashwatbangar
Copy link
Contributor

shashwatbangar commented Dec 28, 2022

Current behavior

When we upload a file for the second time & click on upload button to upload a new file, instead of uploading a file if we click on cancel button, it gives errors.
Screenshot 2022-12-28 at 12 38 27 PM

Expected behavior

On clicking "Cancel" button second time, it should give any error

Steps to reproduce the issue

  1. Click on Upload button on "Purchase Order" page.
  2. Upload a file.
  3. Click on Upload button again & this time instead of uploading a file. Click on "Cancel" button.
  4. Check console for errors.

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

@shashwatbangar
Copy link
Contributor Author

When we click on UPLOAD button second time to upload another file and click on CANCEL to abort uploading file, empty value was setting in the variable holding our file thus, label that displays file name receives empty value and was giving error.

@alsoK2maan alsoK2maan moved this from 📅 Planned to 👀 In review in Digital Experience Platform Jan 6, 2023
@alsoK2maan alsoK2maan assigned alsoK2maan and unassigned alsoK2maan Jan 6, 2023
@alsoK2maan alsoK2maan moved this from 👀 In review to 📅 Planned in Digital Experience Platform Jan 6, 2023
@alsoK2maan alsoK2maan moved this from 📅 Planned to 🏗 In progress in Digital Experience Platform Jan 9, 2023
@alsoK2maan alsoK2maan moved this from 🏗 In progress to 📅 Planned in Digital Experience Platform Jan 9, 2023
@alsoK2maan alsoK2maan moved this from 📅 Planned to 👀 In review in Digital Experience Platform Jan 10, 2023
@alsoK2maan alsoK2maan moved this from 👀 In review to 🏗 In progress in Digital Experience Platform Jan 11, 2023
@alsoK2maan alsoK2maan moved this from 🏗 In progress to ✋Hold in Digital Experience Platform Jan 11, 2023
@adityasharma7 adityasharma7 moved this from ✋Hold to 📅 Planned in Digital Experience Platform Jan 17, 2023
@github-project-automation github-project-automation bot moved this from 📅 Planned to ✅ Done in Digital Experience Platform Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
5 participants