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

Import/Export forms loader continues loading non stop even after the endpoint has successfully completed #1483

Closed
hlayisanimazuze opened this issue May 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working ready for testing urgent

Comments

@hlayisanimazuze
Copy link
Collaborator

hlayisanimazuze commented May 9, 2024

  • After successfully completing the import endpoint, the loader indicator persists in loading even though the packages have been imported onto the system
  • If the action get cancelled such as form export/import/publish/setready/cancel version, it does not stop loading

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/dynamic/shesha/forms'
  2. Open your developer console
  3. Click on 'import' button
  4. Select the json package. Use the attached file
  5. Click on import button
  6. Actual Results: After few seconds, a toast message gets displayed and the endpoint completes successfully, while the loader still loads

Cancel the action

  1. Click on export/import
  2. After the dialog shows, click on cancel or 'x' to close the dialog
  3. Actual Results: The loader does not stop loading

NB: Can this be a global fix, to also fix any item that behaves that way

Expected behavior
After the endpoint successfully completes or the action gets interrupted, the loader indicator should stop loading

image

Recording.2024-05-09.122614.mp4
@hlayisanimazuze
Copy link
Collaborator Author

Related item
#1308

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 urgent
Projects
None yet
Development

No branches or pull requests

2 participants