Bug #4347

Autocomplete fields break when the tab key is pressed

Added by Jesús García Crespo about 9 years ago. Updated over 6 years ago.

Status:NewStart date:
Priority:MediumDue date:
Assignee:José Raddaoui Marín% Done:

100%

Category:AJAXEstimated time:4.00 hours
Target version:-
Google Code Legacy ID:atom-2399 Tested version:
Sponsored:No Requires documentation:

Description

To reproduce this error:

  1. Create a new user
  2. In the creation form:
  3. Assign User to an group
  4. Tab (-> use the keyboard, this is the problem)
  5. Assign User to a second group

Resulting error:

  • Select second group from drop-down but the group will not stick.
  • Can only assign User to one group, save. Then edit and assign to second group, save.
  • Cannot assign user to more than one group without saving and template in between.

It must be a problem in autocomplete.js on how the tab key is handled.

This issue was initially reported in "/p/qubit-toolkit/issues/detail?id=2284": issue 2284 , I've created this separated issue.

[g] Legacy categories: Form validation


Related issues

Related to Access to Memory (AtoM) - Feature #8768: Convert Rights » Statute into an autocomplete field and a... Verified 08/04/2015
Duplicated by Access to Memory (AtoM) - Bug #4070: Can't add more than one repository type Duplicate

History

#2 Updated by David Juhasz over 8 years ago

  • Category set to AJAX
  • Target version changed from Release 2.1.0 to Release 1.4.0
  • Sponsored set to No

#3 Updated by David Juhasz over 8 years ago

  • Description updated (diff)
  • Estimated time set to 4.00

#4 Updated by José Raddaoui Marín over 8 years ago

  • Status changed from New to In progress
  • Assignee changed from Jesús García Crespo to José Raddaoui Marín

#5 Updated by Jesús García Crespo about 8 years ago

  • Status changed from In progress to QA/Review

#6 Updated by Jesús García Crespo about 8 years ago

  • % Done changed from 0 to 100

Applied in changeset atom|commit:93093f7ade5ee39c31b1f585a516490d6e25b318.

#7 Updated by Dan Gillean about 8 years ago

  • Status changed from QA/Review to Feedback

I can still recreate this error. It should be noted that the same error occurs on the allowable languages field for translation.

#8 Updated by Jesús García Crespo about 8 years ago

  • Priority changed from High to Medium

#9 Updated by José Raddaoui Marín about 8 years ago

I've tried a lot of fixes without success, thinking it was a problem on how we manage YUI autocomplete fields, with the multiple field, etc. But at the end it's a known bug from YUI autocomplete, fixed in the 2.8.0 version:

http://yuilibrary.com/projects/yui2/ticket/2528135

#10 Updated by Dan Gillean about 8 years ago

Is it possible for us to update to the 2.8.0 version in AtoM 1.4? Not sure what I should do with this issue ticket... if yes, I will wait until we update, and test to see if it's fixed. If not, I can mark it as "won't fix" perhaps?

#11 Updated by Jesús García Crespo about 8 years ago

  • Status changed from Feedback to QA/Review

Unfortunately not. yui3 is a completely different project. We could consider the change in 2.x, but too late for 1.x.

#12 Updated by Dan Gillean about 8 years ago

  • Target version changed from Release 1.4.0 to Release 2.1.0

#13 Updated by Jessica Bushey about 8 years ago

This issue cannot be tested right now, because the User drop-down in AtoM 2.X is broken. There is no way to create a new user. See: [https://projects.artefactual.com/issues/5399]

#14 Updated by Dan Gillean about 8 years ago

  • Status changed from QA/Review to New

Sorry, based on discussions yesterday, I should have changed the status of this issue back to "New". The proposed fix can't be implemented until we can update yui3 to the newest version in AtoM, which we won't be able to do until after the 2.0 release. Changing status to "New" now, so we will revisit this issue ticket when preparing for 2.1.

#15 Updated by Jesús García Crespo about 7 years ago

  • Target version changed from Release 2.1.0 to Release 2.2.0

#16 Updated by Sarah Romkey over 6 years ago

  • Target version deleted (Release 2.2.0)

#17 Updated by Jesús García Crespo about 6 years ago

  • Related to Feature #8768: Convert Rights » Statute into an autocomplete field and add new Statute taxonomy to AtoM to store values added

Also available in: Atom PDF