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

During a submission, when searching and selecting an author entity, it is not displayed in the author metadata in the submission form. #2943

Open
pilasou opened this issue Apr 15, 2024 · 4 comments
Labels
bug component: configurable entities related to configurable entities component: submission help wanted Needs a volunteer to claim to move forward low priority

Comments

@pilasou
Copy link
Contributor

pilasou commented Apr 15, 2024

Describe the bug
During a new submission, when an author is selected, and the search windows is closed, the name of the selected author is not displayed. However, the relation is created. If the page is reloaded, the name of the author is displayed.

To Reproduce
Can be easily reproduce in DSpace 8 Sandbox (https://sandbox.dspace.org/)
Steps to reproduce the behavior:

  1. Connect as submitter and star a new submission
  2. Add relation between Person entities and publication entities using the magnifying glass button of the author Metadata.
  3. Once selected and the window is closed, the name is not displayed.
  4. Reload the page
  5. The name is displayed.

Expected behavior
Once the Author entity has been selected and the search window is closed, the name selected appears in the author metadata.

Expected behavior
A clear and concise description of what you expected to happen.

Related work
Link to any related tickets or PRs here.

@pilasou pilasou added bug needs triage New issue needs triage and/or scheduling labels Apr 15, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Triage in DSpace Backlog Apr 15, 2024
@tdonohue tdonohue added component: submission component: configurable entities related to configurable entities testathon Reported by a tester during Community Testathon and removed needs triage New issue needs triage and/or scheduling labels Apr 15, 2024
@tdonohue tdonohue added the help wanted Needs a volunteer to claim to move forward label Apr 15, 2024
@Leano1998
Copy link
Contributor

I tried to reproduce this on a local instance and couldn't reproduce it. The only thing I saw, is that it took a couple of seconds until the name was shown (2 or 3 secs). Does it work, if you wait for it? Is it just to slow?

@pilasou
Copy link
Contributor Author

pilasou commented Apr 18, 2024

Hi @Leano1998, thanks! you are right, if I wait, the name displays, it takes a few seconds, while waiting, the form remains empty, letting you think that nothing has happened.

@Leano1998
Copy link
Contributor

Leano1998 commented Apr 18, 2024

Hi @pilasou ,
Thanks for testing.
it’s still a problem, if takes so long and doesn’t show any sign of loading or anything, but I can’t find the reason yet.

@tdonohue
Copy link
Member

Discussed in today's Developers meeting. This slowness is likely related to #858 and DSpace/DSpace#2953 which is a longstanding issue. Essentially, the Entity Relationships added via the submission form are not currently using WorkspaceItem. This sometimes results in a delay when a new relationship is added via the submission form.

@tdonohue tdonohue removed the testathon Reported by a tester during Community Testathon label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: configurable entities related to configurable entities component: submission help wanted Needs a volunteer to claim to move forward low priority
Projects
Development

No branches or pull requests

3 participants