Page MenuHomePhabricator

Type error when storing widgetOffset in EventLogging
Closed, ResolvedPublic

Description

We set the type for the widgetOffset param to number, but it throws an error when we try to store a float:
"Validation error against schema MobileWebWikiGrok: Wrong type for property: widgetOffset 3.35"

The Schema is defined at: https://meta.wikimedia.org/wiki/Schema:MobileWebWikiGrok


Version: unspecified
Severity: normal

Details

Reference
bz72639

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:58 AM
bzimport added a project: MobileFrontend-beta.
bzimport set Reference to bz72639.
bzimport added a subscriber: Unknown Object (MLST).
kaldari created this task.Oct 28 2014, 6:49 PM

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/x4WulHgm

To be clear the fix should store a float not an integer.

gerritadmin wrote:

Change 169624 had a related patch set uploaded by Jdlrobson:
Convert string to integer

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

gerritadmin wrote:

Change 169624 merged by jenkins-bot:
Convert string to integer

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