-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
We are creating updated versions of SPFx components and testing them in site collection app catalogs before we deploy them to the tenant app catalog. We find that if there is a version of the component in both catalogs that once you add the component to a page, the pabe
Category
- [X ] Question
- Typo
- Bug
- Additional article idea
Procedure to reproduce the issue:
- Create a new SPFx web part and deploy it to the tenant app catalog
- Create an updated version of the web part by copying the same project but changing the id and the name.
- Change the id of the updated component in these locations package-solution.json, .yo-rc.json, and AppManifest.xml to a valid id.
- Change the name of the application from the previous name.
- Delete all previous versions from the site collection app catalog.
- Remove all installed apps from the site contents
- Delete all versions from the recycle bin and secondary recycle bin
- Build the bundle and package and deploy to the site collection app catalog
- Add the web part to a page in either a classic or modern site
- Refresh the page
What I see is that the page will randomly load the new version and then the old version. Could it be that there is another location where the id is being referenced? Several of my teams are reporting this behavior and it makes testing quite difficult.
Is there any way to create a new version and ensure that it doesn't interfere with previous versions?
nikskhubani, Serhiy-Shekhovtsov, samialsayyed and promisetochi
Metadata
Metadata
Assignees
Labels
No labels