Last modified: 2014-07-16 10:39:27 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 T66651, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64651 - UI freezes when saving too many snaks
UI freezes when saving too many snaks
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=13
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-30 10:39 UTC by Henning
Modified: 2014-07-16 10:39 UTC (History)
4 users (show)

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


Attachments

Description Henning 2014-04-30 10:39:37 UTC
Under some circumstances, an error is caused in the front-end code that causes freezing the UI when saving a list of snaks. A timing issue seems to be very likely.
This was experienced on wikidata.org adding a seventh snak to a list of reference snaks on a rather small item. I was able to reproduce the error locally adding a 4th snak to a set of reference snaks on a rather huge item and adding a 9th snak on a very small item. Consequently, this might correlate with the overall item size in some way.
The error occurs in wikibase.SnakList.add, the function receives "null" instead of a SnakList object. Apart from solving the actual issue, the mechanism should be more robust since snaklistview.value() that is used to generate the parameter may indeed return "null".
Comment 1 tobias.gritschacher 2014-05-26 09:23:53 UTC
*** Bug 65694 has been marked as a duplicate of this bug. ***
Comment 2 Aude 2014-05-27 01:34:50 UTC
gah, yet another related bug

https://gerrit.wikimedia.org/r/#/c/135498/
Comment 3 Gerrit Notification Bot 2014-05-27 01:35:19 UTC
Change 135498 had a related patch set uploaded by Aude:
Focus snakview variation only when viewState is enabled

https://gerrit.wikimedia.org/r/135498
Comment 4 Gerrit Notification Bot 2014-05-27 08:45:55 UTC
Change 135498 merged by jenkins-bot:
Focus snakview variation only when viewState is enabled

https://gerrit.wikimedia.org/r/135498
Comment 5 Gerrit Notification Bot 2014-05-27 13:39:42 UTC
Change 135566 had a related patch set uploaded by Aude:
Focus snakview variation only when viewState is enabled

https://gerrit.wikimedia.org/r/135566
Comment 6 Gerrit Notification Bot 2014-05-27 13:47:04 UTC
Change 135566 merged by jenkins-bot:
Focus snakview variation only when viewState is enabled

https://gerrit.wikimedia.org/r/135566

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


Navigation
Links