Smalyshev added a project: Upstream.
Smalyshev added a subscriber: Igorkim78.
Smalyshev added a comment.


  This looks like Blazegraph URI handler bug: when the number fits unsigned int 
but not signed int, InlineUnsignedIntegerURIHandler is erroneously storing it 
as small byte value, due to this:
  
                if (value < 256L) {
                        return new XSDUnsignedByteIV((byte) (value + 
Byte.MIN_VALUE));
                }
  
  For 12148449524915690527 the signed long representation is less than zero 
(-6298294548793861089), thus the bug happens.

TASK DETAIL
  https://phabricator.wikimedia.org/T223946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Igorkim78, Smalyshev, Esc3300, Jheald, matej_suchanek, Aklapper, 
Tagishsimon, darthmon_wmde, Premeditated, Nandana, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Jonas, Xmlizer, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to