actualbudget / actualbudget/actual

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

Abierto
#7,108 2 comentarios 0 reacciones 0 asignados Ver en GitHub
good first issue reports user interface
Lenguaje dominante
TypeScript
Estrellas
28.7k
Forks
3k
Merge medio
2 d 11 h
PR fusionados (30 d)
65

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.