Skip to content

Builtin Icons dissappear when activating SPFx package (SPSE onprem, no internet) #10287

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

Open
1 of 9 tasks
ruudsolidnl opened this issue May 27, 2025 · 3 comments
Open
1 of 9 tasks
Assignees
Labels
area:spfx Category: SharePoint Framework (not extensions related) type:bug-confirmed Confirmed bug, not working as designed / expected. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@ruudsolidnl
Copy link

ruudsolidnl commented May 27, 2025

Target SharePoint environment

SharePoint SE Onprem without internet connection

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

💥 SharePoint Framework 1.4.1

Developer environment

VSCode, default SPFx toolchain for 1.4.1

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

  • Edge latest
  • SPFx 1.4.1
  • Node 8.17.0

Describe the bug / error

When my application customizer is activated in a SE site, some out of the box icons dissappear. For example the Site usage icon on the viewlsts.aspx page. This happens because the page tries to load woff files from a cdn (http://static2.sharepointonline.com/files/fabric/assets/…) which fails because the farm does not have internet access. On another farm without internet access it does work.

The calls to the internet CDN are made from within the file "[server name]/_layouts/15/next/spclient/0.legacy-third-party-fabric-core.js?uniqueId=1PbbH0".

The other farm without the issue loads in the same file with a slightly different name: 69.legacy-third-party-fabric-core.js, and uses the following notation to refer to URLs: t(e(17)).

Since these files are hosted in the layouts folder in the farm I assume these are not added or modified by installing SPFx package in the appcatalog site. The only real difference between the farms is that the farm with correct behaviour is on CU May 2025, the other farm on CU April 2025. However, the file in the layouts folder is not replaced last months and also not in the list of the CU files.

The farm with the error is a new install, the correct working farm is a in place upgrade from a SP2019 farm (single server).

So the big question here is when is this file provisioned and which component in the SPFx package is referring to this file and how can we solve this?

Steps to reproduce

  1. create a SPFx 1.4.1. package (app customizer, SP2019 and upwards, incl online, no tenant wide allowed)
  2. install on a new teamsite (modern) in a SPSE farm without internet connection
  3. open the site, open the dev console
  4. you will see several calls to the CDN (URLS with static2 in it); these are called from within the file with name "[some number].legacy-third-party-fabric-core.js". In this file you will see the hardcoded URLs.

Expected behavior

I expect the farm to return the correct js file (0.legacy-third-party-fabric-core.js) with the correct URLs in there and not referring to an online CDN.

@ruudsolidnl ruudsolidnl added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label May 27, 2025
@ruudsolidnl ruudsolidnl changed the title Builtin Icons dissappear when activating SPFx package (SPSE onprem, not internet) Builtin Icons dissappear when activating SPFx package (SPSE onprem, no internet) May 27, 2025
@Ashlesha-MSFT
Copy link

Hello @ruudsolidnl,
Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.

@Amey-MSFT Amey-MSFT self-assigned this May 28, 2025
@andrewconnell
Copy link
Collaborator

@StfBauer do you have any insights on this? I know it's an old SPFx install due to SPSE, but you've spent a lot more time on the nuances with Fabric/Fluent UI and thought of you first before I dig deeper...

@Amey-MSFT Amey-MSFT added the area:spfx Category: SharePoint Framework (not extensions related) label May 30, 2025
@Amey-MSFT
Copy link

Hello @ruudsolidnl,
We were able to reproduce the issue, and we are investigating it. We have logged this as a bug, and our engineering team will look into it.
Thank you!

@Amey-MSFT Amey-MSFT added the type:bug-confirmed Confirmed bug, not working as designed / expected. label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:spfx Category: SharePoint Framework (not extensions related) type:bug-confirmed Confirmed bug, not working as designed / expected. 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

4 participants