Last modified: 2013-11-01 13:00:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41311, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39311 - Site-links ui: if page value is not empty string anymore and then changing site-id to invalid value and pressing enter will fail
Site-links ui: if page value is not empty string anymore and then changing si...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-13 18:00 UTC by Daniel A. R. Werner
Modified: 2013-11-01 13:00 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2012-08-13 18:00:27 UTC
After inserting site-id and page, it is possible to go back to site-id and change it. It can be changed to an invalid value, e.g. simply "a".
When pressing the "save" button everything works, because "a" will change into the first value shown in the auto suggestion.
When pressing enter, save will be triggered but JS will fail because the 'blur' event will not be triggered and also the new 'onkeydown' event used in I1e2b1272 won't be triggered (these would expand the "a" to the first suggested value from the list) probably because the 'onkeydown' event registered for saving the value is triggered first.
Comment 1 denny vrandecic 2012-08-22 14:09:36 UTC
Simplest thing for now is to disable the site selection widget after selecting a site.
Comment 2 tobias.gritschacher 2013-11-01 13:00:08 UTC
This issue does not occur anymore. Either it has been fixed by a patch not mentioned here or it was fixed due to refactoring which was going on over the year.
I cannot reproduce this bug: when pressing "enter" the behavior is the same as clicking "save" and simply the first element from the suggestions will be selected.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links