-
Notifications
You must be signed in to change notification settings - Fork 1k
🐞SPFx v1.8.1 Regression with MSFT Teams Tabs? #3826
Copy link
Copy link
Closed
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type: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.
Metadata
Metadata
Assignees
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type: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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Category
Expected or Desired Behavior
I believe this is a bug... as I can't find a mention of this in the release notes for 1.8.1.
In SPFx v1.8.1, when you create new SPFx project, you should be able to access the MSFT Teams context via
this.context.microsoftTeams.... This worked in v1.8.0, but in 1.8.1, themicrosoftTeamsproperty is not defined.Digging deeper, the
BaseClientSideWebPartWebPartContextobject appears to have changed from v1.8.0 => v1.8.1:/* Excluded from this release type: microsoftTeams */Whereas in SPFx 1.8.0 it was:
Observed Behavior
This code triggers a build error in an SPFx v1.8.1 web part project:
Steps to Reproduce
ensure install SPFx v1.8.1 is installed
create new SFPx web part
add the following code to the web part
run
gulp build& observe errorsrepeat the same process above, but with SPFx v1.8.0 installed... observe it builds without error