actualbudget / actualbudget/actual

[Bug]: Calendar widget to Transaction Calendar crashes on mobile

未關閉
#7,108 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
good first issue reports user interface
主要語言
TypeScript
星號
28.7k
分支
3k
平均合併
2 天 11 小時
30 天內合併 PR
65

描述

### What happened?

I was trying to view the Transaction Calendar on my mobile device (Brave) by clicking on the default "Transaction Calendar" widget and experienced a front end crash. This works correctly on my desktop browser (Firefox). I did change the default widget to not include transfers yesterday, but the behavior is unchanged after reverting this change to the widget.

This results in the following front-end error (domain redacted)
```
Error: useDisplayPayee must be used within a DisplayPayeeContextProvider.
at VQt (https://domain.com/static/js/index.B5BQKKmE.js:227:84922)
at At (https://domain.com/static/js/TransactionList.BZNGq6qU.chunk.js:1:26244)
at C_ (https://domain.com/static/js/index.B5BQKKmE.js:9:49009)
at V_ (https://domain.com/static/js/index.B5BQKKmE.js:9:71991)
at lG (https://domain.com/static/js/index.B5BQKKmE.js:9:82524)
at LG (https://domain.com/static/js/index.B5BQKKmE.js:9:118654)
at zAe (https://domain.com/static/js/index.B5BQKKmE.js:9:117680)
at hR (https://domain.com/static/js/index.B5BQKKmE.js:9:117506)
at NG (https://domain.com/static/js/index.B5BQKKmE.js:9:114248)
at QG (https://domain.com/static/js/index.B5BQKKmE.js:9:126268)
```

I speculate this is a duplicate of https://github.com/actualbudget/actual/issues/7098, but that issue does not have enough information to say whether it's the same error and don't want to conflate two issues if not.

I do not observe this behavior with the other default widgets, probably because they do not load and show the transactions.

### How can we reproduce the issue?

1. Open widgets view
2. Tap on Transaction Calendar
3. See the Transaction Calendar page render briefly (around 0.25-0.5 seconds before crashing)
4. Observe "Fatal Error" (so far I have only been able to reproduce this using Brave browser on mobile)

### Where are you hosting Actual?

Docker

### What browsers are you seeing the problem on?

Other - Brave

### Operating System

Mobile Device - Android

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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