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

issues
Status:closed
Assigned To:Guest
Type:Defect
Area:Skyline
Priority:3
Milestone:19.2
Opened:2019-09-30 08:50 by Vagisha Sharma
Changed:2022-02-28 15:28 by Vagisha Sharma
Resolved:2021-11-29 13:18 by Vagisha Sharma
Resolution:Fixed
Closed:2022-02-28 15:28 by Vagisha Sharma
2019-09-30 08:50 Vagisha Sharma
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

2021-11-29 13:18 Vagisha Sharma
resolve as Fixed
Statusopen»resolved
Changed to using AdminController.HealthCheckAction (https://panoramaweb.org/admin/home/healthCheck.view)

2022-02-28 15:28 Vagisha Sharma
close
Statusresolved»closed
Assigned ToVagisha Sharma»Guest