Issue 684: Do not use getContainers to determine if a URL is for a LabKey Server

issues
Status:open
Assigned To:Vagisha
Type:Defect
Area:Skyline
Priority:3
Milestone:19.2
Opened:2019-09-30 by Vagisha
Changed:2019-09-30 by Vagisha
Resolved:
Resolution:
Closed:
2019-09-30 Vagisha
Title»Do not use getContainers to determine if a URL is for a LabKey Server
Assigned ToGuest»Vagisha
Type»Defect
Area»Skyline
Priority»3
Milestone»19.2
Related to this issue: https://skyline.ms/announcements/home/support/thread.view?rowId=41926

PanoramaUtil.TryIsPanorama, looks for the property "type": "project" in the JSON response form getContainers to determine if the URL entered by the user for a Panorama Server is a LabKey Server. This property is missing if the 'home' container does not allow anonymous access.

Josh suggested replacing call to getContainers with AdminController.HealthCheckAction or AdminController.GuidAction