Last modified: 2014-07-16 10:39:27 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".
*** Bug 65694 has been marked as a duplicate of this bug. ***
gah, yet another related bug https://gerrit.wikimedia.org/r/#/c/135498/
Change 135498 had a related patch set uploaded by Aude: Focus snakview variation only when viewState is enabled https://gerrit.wikimedia.org/r/135498
Change 135498 merged by jenkins-bot: Focus snakview variation only when viewState is enabled https://gerrit.wikimedia.org/r/135498
Change 135566 had a related patch set uploaded by Aude: Focus snakview variation only when viewState is enabled https://gerrit.wikimedia.org/r/135566
Change 135566 merged by jenkins-bot: Focus snakview variation only when viewState is enabled https://gerrit.wikimedia.org/r/135566