Page MenuHomePhabricator

ApiSandbox seems broken on the cluster
Closed, ResolvedPublic

Description

The loading spinner stays and there's a JS error....

Uncaught TypeError: Object 10 has no method 'replace'
html.escape - load.php:150
html.element - load.php:150
UiBuilder.select - load.php:4
UiBuilder.input - load.php:4
UiBuilder.createInputs - load.php:3
UiBuilder - load.php:2
(anonymous function) - load.php:10
isQuery - load.php:10
jQuery.extend._Deferred.deferred.resolveWith - load.php:14
done - load.php:108
jQuery.ajaxTransport.send.callback - load.php:118


Version: unspecified
Severity: normal

Details

Reference
bz32733
TitleReferenceAuthorSource BranchDest Branch
Expand language support for RevertRiskModelrepos/research/knowledge_integrity!23mnzmnz/quality-feature-valsmain
search: Update rdf-spark-tools to .131repos/data-engineering/airflow-dags!504ebernhardsonwork/ebernhardson/rdf-version-updatemain
search: tune process_sparql_query_hourlyrepos/data-engineering/airflow-dags!502dcausseT347333-tune-process_sparql_query_hourlymain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:06 AM
bzimport set Reference to bz32733.

Some attribute vals being passed into mw.html.element() are numbers instead of strings, and mw.html.element() isn't set up to convert things to strings automatically.

As a workaround, should work fine to force all the vals to strings.

(In reply to comment #1)

Some attribute vals being passed into mw.html.element() are numbers instead of
strings, and mw.html.element() isn't set up to convert things to strings
automatically.

I've hit this a few times as well, although so far I hit' it before committing, it sure is annoying.
Fixed in trunk, mw.html.element converts booleans and numbers to strings.

See bug 30774. Let's backport r96307.

Hey this is valid, it just depends on 30774. :)

r96307 & r96310 fix this when backported.

Merged to 1.18 in r104753, 1.18wmf1 in r104754 and pushed to site