[ 
https://issues.apache.org/jira/browse/SOLR-18695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Pugh updated SOLR-18695:
-----------------------------
    Summary: Admin UI share v2 API client setup across *V2 services  (was: 
Collections screen dies without the js-client bundle:)

> Admin UI share v2 API client setup across *V2 services
> ------------------------------------------------------
>
>                 Key: SOLR-18695
>                 URL: https://issues.apache.org/jira/browse/SOLR-18695
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Eric Pugh
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
>  the {{CollectionsV2}} service factory ({{{}services.js{}}}) references the 
> {{solrApi}} global at injection time; if {{libs/solr/index.js}} fails to 
> load, the whole {{CollectionsController}} fails and the screen is blank. Only 
> {{reloadCollection}} is used from that bundle — a lazy/optional lookup would 
> degrade gracefully. Workaround: tests serve a stub bundle. _Found by_ 
> {{{}AdminUiSmokeTest{}}}; stub served by {{AdminUiTestBase}} for 
> {{{}AdminUiCollectionsScreenTest{}}}.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to