Microsoft Graph Picture Cache

未關閉
#177 61 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
csharp

研究方向

從範例應用程式中的 Microsoft Graph Sample 開始,先使用 Work or School account,再使用 MSA account 重現此流程。追蹤使用者圖片如何在 Logout 和 Login 之間被保留;完成的條件是,當第二個帳戶的個人檔案沒有圖片時,不會顯示前一位使用者的圖片。

由索引模型根據 Issue 內容生成。

描述

needs attention :wave: needs triage :mag:

I'm submitting a...

  • Bug report (I searched for similar issues and did not find one)

Current behavior

If you login with a Work Account (which supports the user picture endpoint), logoff and login with an MSA (which does not supports the user picture endpoint), the old Work Account user picture is shown.

Expected behavior

The sample app should not show another user's picture, if it can't find mine.

Minimal reproduction of the problem with instructions

  1. Open the sample app
  2. Open the Microsoft Graph Sample
  3. Login with an account which will return a picture profile (a Work or School account)
  4. Logoff
  5. Login with an account which will not return a picture profile (an MSA account)

Environment

Nuget Package(s): Microsoft.Toolkit.Uwp.Services

Package Version(s): Latest from source (3.0 preview)

Windows 10 Build Number:
- [ ] Anniversary Update (14393) 
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [X] Insider Build (build number: 17672)

App min and target version:
- [Min] Anniversary Update (14393) 
- [ ] Creators Update (15063)
- [Target] Fall Creators Update (16299)
- [ ] Insider Build (xxxxx)

Device form factor:
- [X] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [X] 2017 (version: 15.7.1)
- [ ] 2017 Preview (version: )

主要語言
C#
星號
156
分支
37
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommunityToolkit/Graph-Controls 的其他 Issue

查看 CommunityToolkit/Graph-Controls 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。