Page MenuHomePhabricator

Warnings in qunit tests on quibble: "Cannot read property 'id' of undefined'"
Closed, ResolvedPublic

Description

WARN: 'jQuery.Deferred exception: Cannot read property 'id' of undefined', 'TypeError: Cannot read property 'id' of undefined
    at Object.deserializeForm (http://localhost:9876/load.php?debug=false&lang=en&modules=wikibase.lexeme.entityChangers%2Cspecial%2Cstore%7Cwikibase.lexeme.entityChangers.FormChanger%2CLexemeRevisionStore%2CSenseChanger%7Cwikibase.lexeme.i18n.Messages%7Cwikibase.lexeme.serialization.FormSerializer%2CLexemeDeserializer%2CSenseSerializer%7Cwikibase.lexeme.services.ItemLookup%2CLanguageFromItemExtractor%7Cwikibase.lexeme.special.formHelpers.LexemeLanguageFieldObserver%7Cwikibase.lexeme.store.actionTypes%2Cactions%2CmutationTypes%2Cmutations%7Cwikibase.lexeme.view.ControllerViewFactory%2CReadModeViewFactory%2CViewFactoryFactory%7Cwikibase.lexeme.widgets.GlossWidget%2CGrammaticalFeatureListWidget%2CItemSelectorWidget%2CLabelDescriptionOptionWidget%2CRedundantLanguageIndicator%2CRepresentationWidget%7Cwikibase.serialization.ClaimDeserializer%2CClaimSerializer%2CDeserializer%2CReferenceDeserializer%2CReferenceListDeserializer%2CReferenceListSerializer%2CReferenceSerializer%2CSerializer%2CSnakDeserializer%2CSnakListDeserializer%2CSnakListSerializer%2CSnakSerializer%2CStatementDeserializer%2CStatementGroupDeserializer%2CStatementGroupSetDeserializer%2CStatementListDeserializer%2CStatementSerializer%2CTermDeserializer%2CTermMapDeserializer%2CTermMapSerializer%2CTermSerializer%2C__namespace%7Cwikibase.sites%2Cstore%2Ctemplates%2Ctests%2Cutilities%7Cwikibase.sites.tests%7Cwikibase.store.CachingEntityStore%2CCombiningEntityStore%2CEntityStore%7Cwikibase.store.CachingEntityStore.tests%7Cwikibase.store.CombiningEntityStore.tests%7Cwikibase.templates.lexeme%2Ctests%7Cwikibase.tests.getMockListItemAdapter%7Cwikibase.tests.qunit.testrunner%7Cwikibase.utilities.ClaimGuidGenerator%2CGuidGenerator%7Cwikibase.utilities.ClaimGuidGenerator.tests%7Cwikibase.utilities.GuidGenerator.tests%7Cwikibase.view.ControllerViewFactory%2CReadModeViewFactory%2CToolbarFactory%2CToolbarViewController%2CViewController%2CViewFactory%2CViewFactoryFactory%7Cwikibase.view.ToolbarFactory.tests%7Cwikibase.view.ToolbarViewController.tests%7Cwikibase.view.ViewFactory.tests&skin=vector&version=1potveh:9:427)
    at http://localhost:9876/load.php?debug=false&lang=en&modules=wikibase.lexeme.entityChangers%2Cspecial%2Cstore%7Cwikibase.lexeme.entityChangers.FormChanger%2CLexemeRevisionStore%2CSenseChanger%7Cwikibase.lexeme.i18n.Messages%7Cwikibase.lexeme.serialization.FormSerializer%2CLexemeDeserializer%2CSenseSerializer%7Cwikibase.lexeme.services.ItemLookup%2CLanguageFromItemExtractor%7Cwikibase.lexeme.special.formHelpers.LexemeLanguageFieldObserver%7Cwikibase.lexeme.store.actionTypes%2Cactions%2CmutationTypes%2Cmutations%7Cwikibase.lexeme.view.ControllerViewFactory%2CReadModeViewFactory%2CViewFactoryFactory%7Cwikibase.lexeme.widgets.GlossWidget%2CGrammaticalFeatureListWidget%2CItemSelectorWidget%2CLabelDescriptionOptionWidget%2CRedundantLanguageIndicator%2CRepresentationWidget%7Cwikibase.serialization.ClaimDeserializer%2CClaimSerializer%2CDeserializer%2CReferenceDeserializer%2CReferenceListDeserializer%2CReferenceListSerializer%2CReferenceSerializer%2CSerializer%2CSnakDeserializer%2CSnakListDeserializer%2CSnakListSerializer%2CSnakSerializer%2CStatementDeserializer%2CStatementGroupDeserializer%2CStatementGroupSetDeserializer%2CStatementListDeserializer%2CStatementSerializer%2CTermDeserializer%2CTermMapDeserializer%2CTermMapSerializer%2CTermSerializer%2C__namespace%7Cwikibase.sites%2Cstore%2Ctemplates%2Ctests%2Cutilities%7Cwikibase.sites.tests%7Cwikibase.store.CachingEntityStore%2CCombiningEntityStore%2CEntityStore%7Cwikibase.store.CachingEntityStore.tests%7Cwikibase.store.CombiningEntityStore.tests%7Cwikibase.templates.lexeme%2Ctests%7Cwikibase.tests.getMockListItemAdapter%7Cwikibase.tests.qunit.testrunner%7Cwikibase.utilities.ClaimGuidGenerator%2CGuidGenerator%7Cwikibase.utilities.ClaimGuidGenerator.tests%7Cwikibase.utilities.GuidGenerator.tests%7Cwikibase.view.ControllerViewFactory%2CReadModeViewFactory%2CToolbarFactory%2CToolbarViewController%2CViewController%2CViewFactory%2CViewFactoryFactory%7Cwikibase.view.ToolbarFactory.tests%7Cwikibase.view.ToolbarViewController.tests%7Cwikibase.view.ViewFactory.tests&skin=vector&version=1potveh:2:419
    at mightThrow (http://localhost:9876/load.php?debug=false&lang=en&modules=jquery%7Cmediawiki.base&only=scripts&skin=vector&version=0cl1qx1:49:598)
    at process (http://localhost:9876/load.php?debug=false&lang=en&modules=jquery%7Cmediawiki.base&only=scripts&skin=vector&version=0cl1qx1:50:269)', undefined

Event Timeline

While running quibble for WikibaseLexeme I can no longer see this errors, so it could be that they are resolved?

Addshore claimed this task.

Seem to be gone (also for Pablo)