Field customizer stops working every few days, ClientSideComponentId and ClientSideComponentProperties become un-set.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [X] 💥 Microsoft Edge
- [ ] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [X] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- Edge version: 125.0.2535.67
- SPFx version: 1.13.1
Describe the bug / error
I am the maintainer of a SPFx package that includes a field customizer that is applied to list and library columns by using REST to set their ClientSideComponentId and ClientSideComponentProperties.
This has been working well across multiple tenants and multiple libraries and lists, but I have one customer with one list where the field customizer becomes "un-set" every few days.
Basically, the customized field will show as blank when viewing the list, and the issue persists until he re-applies the values to ClientSideComponentId and ClientSideComponentProperties. After that, it begins working again for a few days until the issue occurs again.
The customer in question is using my field customizer on several lists and libraries, but the issue is only happening on one specific list. I am wondering if there is some external entity that is modifying the list's configuration and causing the settings to become un-set, but I don't know how to check for that.
I am attaching XML files showing what the column settings look like when the settings are applied and working and what they looked like when the issue was occurring.
As seen in the files, the settings are applied to three columns (Title, LinkTitleNoMenu, LinkTitle). When the issue occured, the settings were gone from LinkTitleNoMenu and LinkTitle and still present on Title, but the field customizer wasn't working on any of them.
When we looked at the list in his browser while the issue was occurring, I could see the following error in the browser console:
Fail to load customizer for column: LinkTitleNoMenu, componentId: dc787db1-718f-454e-ae48-934e93ce4cde, error: Manifest not found for componentId "dc787db1-718f-454e-ae48-934e93ce4cde".
Fail to load customizer for column: Title, componentId: dc787db1-718f-454e-ae48-934e93ce4cde, error: Manifest not found for componentId "dc787db1-718f-454e-ae48-934e93ce4cde".
This console error is perplexing because the customizer is obviously installed in his SharePoint environment, and resumes working as soon as we re-apply the settings to the list columns.
I will greatly appreciate any guidance you can provide in troubleshooting this issue.
FieldSettingsAfterApply.txt FieldSettingsDuringIssue.txt
Steps to reproduce
I do not have usable repro steps since this only occurs in one specific list in one specific tenant, but basically:
- Apply field customer to list's Title, LinkTitle, LinkTitleNoMenu columns
- Wait several days
- Observe that field customizer is not loading
Expected behavior
The field customizer should continue working indefinitely and not randomly become un-configured.