bramdejager / spcb

The SharePoint Client Browser (SPCB) uses the CSOM to connect to a remote SharePoint site collection and shows the site structure with related properties and values.
GNU General Public License v2.0
174 stars 48 forks source link

Incorrect browse to, or browse setting - when loading tenant #35

Open bramdejager opened 6 years ago

bramdejager commented 6 years ago

I notice when I load a tenant, then second click over a list 'open default browser', and also 'Browse settings page' of object, it defaults to https://name-admin.sharepoint.com, instead of name.sharepoint.com (e.g. should be RootSiteUrl in Tenant Object). Maybe loading a site is OK, but only tested loading a tenant. Hope this helps. Nice tool!

This work item was migrated from CodePlex

CodePlex work item ID: '63994' Vote count: '2'

bramdejager commented 6 years ago

[BdeJager@31-8-2015] Could you provide additional information, please check Report a Bug

bramdejager commented 6 years ago

[lennertc@24-7-2017] public static string GetFolderUrl(this SPClient.Folder folder) in FolderExtentions.cs:12 uses Folder.Context.Url.

When browsing via Tenant -> Site Collections -> Some Sitecollection -> Lists -> Documents: Folder.Context.Url returns the url of the tenant-admin site url, not the url of the SharePoint site.

No exception occurs, just a 404.

bramdejager commented 6 years ago

[UnknownUser@24-7-2017]

bramdejager commented 6 years ago

[lennertc@24-7-2017] Stacktrace: at SPBrowser.Extentions.ListExtentions.GetListUrl(List list) at SPBrowser.MainForm.GetOpenItemUrl() at SPBrowser.MainForm.browseOpenUrlToolStripMenuItem_Click(Object sender, EventArgs e)