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

Duplicate values when using draggable fields feature in a drop-down list #2654

Open
Xefiron opened this issue Nov 21, 2023 · 1 comment
Open
Labels
bug component: submission help wanted Needs a volunteer to claim to move forward medium priority

Comments

@Xefiron
Copy link

Xefiron commented Nov 21, 2023

DSpace version: 7.4 - 7.6
Browser: Microsoft Edge v119.0.2151.72; Google Chrome v119.0.6045.160; Mozilla Firefox v119.0.1
Environment: Local repository and DSpace 7 demo
Bug description: When you select an option from a drop-down list with at least two options and drag it over another, and modify any of them, both adopt the same value.

Steps to reproduce the behavior:

  1. Log-in and start a new item.
  2. Go to an dropdown field. Ex. dc.type and add two elements.
  3. Dragg one of them and select another option.
  4. Both elements duplicate their values.

Expected behavior
When dragging an item from a drop-down list, each field should be independent in its value.

@Xefiron Xefiron added bug needs triage New issue needs triage and/or scheduling labels Nov 21, 2023
@github-project-automation github-project-automation bot moved this to 🆕 Triage in DSpace Backlog Nov 21, 2023
@tdonohue
Copy link
Member

Reproducible on demo.dspace.org. Here's the steps I took:

  1. Start a new Submission
  2. Scroll directly to the "Type" field (which is a dropdown). Select a value (doesn't matter which one)
  3. Click "+Add More", select a different value in the new "Type" dropdown.
  4. Hover mouse over the drag & drop bar (to the left of the field). Reorder the two values so that the second value is now listed first.
  5. Finally, change either dropdown to a new value. They both will change. It's no longer possible to have two different values unless you delete one and re-add it.

Moving this to the 7.6.x board in search of a volunteer.

@tdonohue tdonohue added component: submission medium priority help wanted Needs a volunteer to claim to move forward and removed needs triage New issue needs triage and/or scheduling labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: submission help wanted Needs a volunteer to claim to move forward medium priority
Projects
Development

No branches or pull requests

2 participants