sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Unable to Install Web Part to Sub Site

Open jaredbuttars opened this issue 9 years ago • 5 comments

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.

jaredbuttars avatar Feb 11 '17 17:02 jaredbuttars

Possible relation to https://github.com/SharePoint/sp-dev-docs/issues/304

nse7ens avatar Feb 13 '17 14:02 nse7ens

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?

GrahamMcMynn avatar Feb 13 '17 23:02 GrahamMcMynn

Package works on root site, built with RC0.

jaredbuttars avatar Feb 14 '17 01:02 jaredbuttars

This either started working or I was doing something wrong. More likely the latter. Either way, seems fine now.

jaredbuttars avatar Feb 17 '17 18:02 jaredbuttars

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

msft-github-bot avatar Jan 29 '20 18:01 msft-github-bot