SPFx Web Part Catalog Version Number - Not Updating
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Team, currently using v1.8.2 of SPFx and experiencing an issue I haven't been able to dig up information on. Usually when I would increase the version number of the app to be displayed in the app catalog, this would be done within the package-solution.json file. Updating the version no longer seems to be reflected upon uploading the app. If the previous (or no version) was 1.0.0.0 and my package is specified to be at 1.5.0.0, after the process is complete the package still shows as 1.0.0.0 in the app catalog.
To test this, using an older version of an app package I had. I was able to upgrade the version from 1.0.0.3 to 1.0.0.6 in the app catalog. When using the current 1.8.2 (and other requirements for that), the app catalog will not longer display versions beyond 1.0.0.0.
I've never had an issue increasing these versions. This may or may not be leading into issues I'm seeing while trying to use SPFx web parts on classic sites. When a brand new app is installed to the catalog, I can install the app on multiple sites / sub sites (through a site collection app catalog). Once I perform an update of the app, I can no longer install on new sites / subs. It will return the following error message:
A different version of this App is already installed with the same version number. You need to delete the app from the site and the site recycle bin to install this version.
I'm hoping these are related to the app catalog version not being increased after performing an update. Any help would be appreciated, thank you!
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Providing an update here. Without anything changing, the site collection app catalog all of a sudden starting taking the updated version numbers. Not sure if there was just a blip on the radar or something was magically updated on the back-end that resolved it. This can be closed now, thank you!
I am experiencing the same issue. Adding the app to the app catalog in the SP2019 test environment works, while it fails in the production environment.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues