-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
timdhahn/sp-dev-docs
#1Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
N/A
Describe the bug / error
The note on this developer documentation is incorrect.
"If this is omitted or empty, the task creates a single Feature for every component (a 1:1 mapping)."
The "or empty" has been found to not be accurate, based on SPFx 1.21 tooling. It should read instead:
"If this is omitted, the task creates a single Feature for every component (a 1:1 mapping)."
Steps to reproduce
- Scaffold a new SPFx 1.21 web part. (Alternatively, leverage an older upgraded project before adding features was common/default for web part packages that had no requirements to deploy anything else such as site columns, content types, etc)
- Remove the feature, but leave the package-solution.json to have an empty features:[] node.
- Build, Bundle, Package the solution.
- Deploy to appcatalog (site or tenant), add the app.
Expected behavior
Web Parts available to add to pages.
Actual
No webparts from sppkg available.
Metadata
Metadata
Assignees
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.