Last modified: 2013-09-04 13:19:55 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 T55520, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53520 - bad globecoordinate data values in wikidata
bad globecoordinate data values in wikidata
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
DataValues (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-29 06:40 UTC by Aude
Modified: 2013-09-04 13:19 UTC (History)
4 users (show)

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


Attachments

Description Aude 2013-08-29 06:40:36 UTC
On Monday when new code was deployed to Wikidata, the DataValue (and api) was changed to disallow null data in the globecoordinate value's precision field. 

This caused a problem when editing an item, and claims (including unrelated claims) on the item got resaved.  Many globecoordinate claims in the database have null precision. Then the system regarded these globecoordinate values as "bad", invalid, undeserializable.  

To further complicate the problem, these "bad" values were actually being stored in the database with datavalue type = "bad", losing knowledge that these had been "globecoordinate".

We updated the software to allow null precision again, for now.  Saving globecoordinate with null is okay now, although deprecated and discouraged.

It was possible for my bot to go through affected items and set the datavalue type back to "globecoordinate" to allow them to be valid again.  This fixed any "broken" items.
Comment 1 Aude 2013-08-29 06:40:58 UTC
reporting this for the record
Comment 2 Michiel1972 2013-08-30 10:44:47 UTC
There are also many claims without specification of the Globe. Can it also be allowed to accept empty globe again?.
Comment 3 Andre Klapper 2013-08-30 11:35:17 UTC
[You can comment without reopening - this bug report was about *bad* values, hence closing again as FIXED]
Comment 4 Aude 2013-08-30 12:50:48 UTC
See also https://bugzilla.wikimedia.org/53521 about null globe.
Comment 5 abraham.taherivand 2013-09-04 13:19:55 UTC
Verified in Wikidata demo time

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


Navigation
Links