Unable to Install Web Part to Sub Site
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Enhancement / Suggestion
- [ ] Additional article idea
Expected or Desired Behavior
The web part is installed on the root site collection but not on subsites. I expect to be able to install the web part to a sub site of the root collection.
Observed Behavior
Attempting to add the app to a subsite I get the full page error:
Sorry, something went wrong
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.
The web part has not been previously installed to the subsite and is not in either the first or second stage recycle bins of the subsite or root site.
Steps to Reproduce
Install (add app) to a root site then try to install it to a subsite of the root site.
Possible relation to https://github.com/SharePoint/sp-dev-docs/issues/304
This is most likely not related to #304. Your package should no longer contain a .webpart file. That being said, I just added an app in both a root web and a subweb and was able to do so without issue. Could you give more details about the site having the problem?
Package works on root site, built with RC0.
This either started working or I was doing something wrong. More likely the latter. Either way, seems fine now.
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