Last modified: 2014-03-24 14:30:20 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 T63915, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61915 - HtmlUrlFormatter.php: Data value type mismatch. Expected a StringValue
HtmlUrlFormatter.php: Data value type mismatch. Expected a StringValue
Status: VERIFIED DUPLICATE of bug 61913
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-25 16:19 UTC by Aude
Modified: 2014-03-24 14:30 UTC (History)
2 users (show)

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


Attachments

Description Aude 2014-02-25 16:19:10 UTC
Exception from line 48 of /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/lib/includes/formatters/HtmlUrlFormatter.php: Data value type mismatch. Expected a StringValue.
#0 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/lib/includes/formatters/DispatchingValueFormatter.php(72): Wikibase\Lib\HtmlUrlFormatter->format(Object(Wikibase\DataModel\Entity\EntityIdValue))
#1 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/lib/includes/formatters/PropertyValueSnakFormatter.php(91): Wikibase\Lib\DispatchingValueFormatter->formatValue(Object(Wikibase\DataModel\Entity\EntityIdValue), 'url')
#2 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/lib/includes/formatters/PropertyValueSnakFormatter.php(73): Wikibase\Lib\PropertyValueSnakFormatter->formatValue(Object(Wikibase\DataModel\Entity\EntityIdValue), 'url')
#3 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/lib/includes/formatters/DispatchingSnakFormatter.php(74): Wikibase\Lib\PropertyValueSnakFormatter->formatSnak(Object(Wikibase\DataModel\Snak\PropertyValueSnak))
#4 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/ClaimHtmlGenerator.php(265): Wikibase\Lib\DispatchingSnakFormatter->formatSnak(Object(Wikibase\DataModel\Snak\PropertyValueSnak))
#5 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/ClaimHtmlGenerator.php(95): Wikibase\ClaimHtmlGenerator->getFormattedSnakValue(Object(Wikibase\DataModel\Snak\PropertyValueSnak))
#6 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/EntityView.php(549): Wikibase\ClaimHtmlGenerator->getHtmlForClaim(Object(Wikibase\DataModel\Claim\Statement), '<span class="wb...')
#7 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/EntityView.php(251): Wikibase\EntityView->getHtmlForClaims(Object(Wikibase\DataModel\Entity\Item), true)
#8 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/ItemView.php(24): Wikibase\EntityView->getInnerHtml(Object(Wikibase\EntityRevision), true)
#9 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/EntityView.php(195): Wikibase\ItemView->getInnerHtml(Object(Wikibase\EntityRevision), true)
#10 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/EntityView.php(359): Wikibase\EntityView->getHtml(Object(Wikibase\EntityRevision), true)
#11 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/content/EntityContent.php(154): Wikibase\EntityView->getParserOutput(Object(Wikibase\EntityRevision), true, true)
Comment 1 Aude 2014-02-25 16:20:18 UTC
might be related to bug 61913 but that needs more investigation
Comment 2 Gerrit Notification Bot 2014-02-25 16:51:49 UTC
Change 115397 had a related patch set uploaded by Aude:
Handle InvalidArgumentException in ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/115397
Comment 3 Gerrit Notification Bot 2014-02-25 18:07:34 UTC
Change 115397 merged by Addshore:
Handle InvalidArgumentException in ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/115397
Comment 4 Gerrit Notification Bot 2014-02-25 18:37:34 UTC
Change 115418 had a related patch set uploaded by Aude:
Update Wikidata build

https://gerrit.wikimedia.org/r/115418
Comment 5 Gerrit Notification Bot 2014-02-25 19:18:20 UTC
Change 115418 merged by Reedy:
Update Wikidata build

https://gerrit.wikimedia.org/r/115418
Comment 6 Gerrit Notification Bot 2014-03-06 16:45:56 UTC
Change 117219 had a related patch set uploaded by Hoo man:
Handle InvalidArgumentException in ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/117219
Comment 7 Gerrit Notification Bot 2014-03-06 16:58:54 UTC
Change 117219 merged by jenkins-bot:
Handle InvalidArgumentException in ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/117219
Comment 8 Gerrit Notification Bot 2014-03-06 18:30:35 UTC
Change 117240 had a related patch set uploaded by Aude:
new build, cherry pick I5e62345 for ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/117240
Comment 9 Gerrit Notification Bot 2014-03-06 19:35:29 UTC
Change 117240 merged by jenkins-bot:
new build, cherry pick I5e62345 for ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/117240
Comment 10 Gerrit Notification Bot 2014-03-06 20:10:52 UTC
Change 117306 had a related patch set uploaded by Aude:
Update Wikidata build, fix uncaught exception in claim html formatting

https://gerrit.wikimedia.org/r/117306
Comment 11 Gerrit Notification Bot 2014-03-06 20:23:49 UTC
Change 117306 merged by jenkins-bot:
Update Wikidata build, fix uncaught exception in claim html formatting

https://gerrit.wikimedia.org/r/117306
Comment 12 Gerrit Notification Bot 2014-03-20 16:04:11 UTC
Change 119768 had a related patch set uploaded by Aude:
Handle InvalidArgumentException in ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/119768
Comment 13 Gerrit Notification Bot 2014-03-20 16:36:27 UTC
Change 119768 merged by jenkins-bot:
Handle InvalidArgumentException in ClaimHtmlGenerator

https://gerrit.wikimedia.org/r/119768
Comment 14 Aude 2014-03-20 16:43:45 UTC
quite sure the same issue as bug 61913 (although different edge case causes... one an imported item, second is test data leaking into my database and corrupting an item)

*** This bug has been marked as a duplicate of bug 61913 ***
Comment 15 Aude 2014-03-20 16:44:32 UTC
to be fixed properly in bug 62495 in master
Comment 16 Gerrit Notification Bot 2014-03-24 14:30:20 UTC
Change 120530 had a related patch set uploaded by Aude:
Handle InvalidArgumentException in ClaimHtmlGenerator

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

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


Navigation
Links