Skip to content

Apps deployed to Site Collection App Catalog and Tenant App Catalog interfere with each other #2329

@boydcster

Description

@boydcster

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:

  1. Create a new SPFx web part and deploy it to the tenant app catalog
  2. Create an updated version of the web part by copying the same project but changing the id and the name.
  3. Change the id of the updated component in these locations package-solution.json, .yo-rc.json, and AppManifest.xml to a valid id.
  4. Change the name of the application from the previous name.
  5. Delete all previous versions from the site collection app catalog.
  6. Remove all installed apps from the site contents
  7. Delete all versions from the recycle bin and secondary recycle bin
  8. Build the bundle and package and deploy to the site collection app catalog
  9. Add the web part to a page in either a classic or modern site
  10. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions