https://bugzilla.wikimedia.org/show_bug.cgi?id=64651
Bug ID: 64651
Summary: UI freezes when saving too many snaks
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
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".
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l