Last modified: 2014-06-10 17:34:05 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 T67385, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65385 - Empty event appears as [], not {}
Empty event appears as [], not {}
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
EventLogging (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-16 04:10 UTC by Matthew Flaschen
Modified: 2014-06-10 17:34 UTC (History)
9 users (show)

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


Attachments

Description Matthew Flaschen 2014-05-16 04:10:01 UTC
An empty event array is serialized to JSON as [], instead of {}.
Comment 1 Krinkle 2014-05-19 14:13:06 UTC
> Cast empty server-side events to object
> Change-Id: If7c155860d6acb596ffc1529f1653dc5aea0b91f
Comment 2 Liangent 2014-05-19 14:17:15 UTC
(In reply to Krinkle from comment #1)
> > Cast empty server-side events to object
> > Change-Id: If7c155860d6acb596ffc1529f1653dc5aea0b91f

Is it possible to fix bug 10887 in the same way?
Comment 3 Matthew Flaschen 2014-05-20 03:10:50 UTC
(In reply to Liangent from comment #2)
> Is it possible to fix bug 10887 in the same way?

Possibly.  I commented there.
Comment 4 Gerrit Notification Bot 2014-05-23 04:07:43 UTC
Change 134993 had a related patch set uploaded by Ori.livneh:
Cast empty server-side events to object

https://gerrit.wikimedia.org/r/134993
Comment 5 Gerrit Notification Bot 2014-05-23 09:29:32 UTC
Change 134993 merged by Nuria:
Cast empty server-side events to object

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

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


Navigation
Links