-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong context passed to team tab when navigating (latest build bug, 24295.607.3241.5057) #2638
Comments
@nbelyh - Thank you for your inquiry about your Teams app development issue! To assist you better, could you please share the Teams JS library version you are using? |
I had same issue like him, Please suggest advise |
@Nivedipa-MSFT But the thing is, for us the problem only happens with the very last teams client. |
Same here! Reproduce:
|
For me, the context is not undefined; it is defined, but it is a wrong one (and it is wrong one only in the latest build of teams, and only if you navigate to the app using deep link) |
Yes, context is not
Yes, same here. Context is not undefined but fields in the context are undefined that should be defined actually. Only occurs after using a deeplink. |
@nbelyh - We are experiencing some difficulties in reproducing this scenario. Could you please share your minimal code snippet, app manifest, and a repro video? This will help us replicate the issue on our end and, if necessary, raise a bug accordingly. |
@Nivedipa-MSFT |
If you navigate to a tab using a link from one tab, the latest teams client does not give you the new context.
Teams build numbers:
Meaning,
microsoftTeams.getContext()
started returning the context from the previous tab/application.This break deep link navigation completely, as the tab being loaded gets another tab's context.
This is only happening in the very latest build of teams (see the version numbers above).
Example to be clearer:
Personal App calls
executeDeepLink(...here comes the deep link to some team tab....)
Some Teams tab:
getContext(....) ===> returns now the context for the person tab, not this team tab ?????
If you reload the teams tab, the correct (teams tab) context is passed.
The text was updated successfully, but these errors were encountered: