actualbudget / actualbudget/actual

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

オープン
#7,108 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue reports user interface
主要言語
TypeScript
スター
28.7k
フォーク
3k
平均マージ
2日 11時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。