Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error rendering library folder when opened from a QuickLaunch menu item #10072

Open
1 of 9 tasks
jikleveland opened this issue Jan 9, 2025 · 0 comments
Open
1 of 9 tasks
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@jikleveland
Copy link

jikleveland commented Jan 9, 2025

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

not applicable

Developer environment

None

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • latest browser version
  • modern team site without any modifications other than menuitems in the QuickLaunch and Teams connected

Describe the bug / error

I have a default modern team site connected to a Teams Team with a plain document library.
I've added a couple of menu-items in the Quicklaunch with address/link to a subfolder in the document library.
When clicking the menu-item it sometimes opens the library with the subfolder, sometimes opens the root of the library, and sometimes gives an error telling the elemt is moved or deleted.
The browser showses correct address - refreshing the browser bringes up the correct content - library view with the subfolder

Steps to reproduce

  1. Add a menu-item in the Quicklaunch menu with address: /sites/sitename/libraryname/foldername
  2. Save and refresh
  3. Click the menu-item addressing the sub-folder several times and click different menu-items

Edited:

I tested in another site, and there it works fine.
Difference when checking in dev tools & network treffic:
The failing site uses SP.List.GetListDataAsStream and params TryNewExperienceSingle: TRUE and listFullUrl that includes foldername

The working site simply requests the address from the menu-item.

Expected behavior

Expect to get the library view with the correct folder/subfolder every time user clicks the menu-item

@jikleveland jikleveland added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

1 participant