Console keeps offering "Return to configured kiosk" for devices already running it (bulk / Run command kiosk.enter)
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- android, kotlin, react, typescript
- Área
- backend-api-design, mobile
Línea de trabajo
Start in web/src/data/kiosk.ts at configuredKioskState and trace how kiosk.enter payloads, configuredKioskIds(), and server-side kiosk generations determine the displayed action. Then inspect the server REST API and bulk command paths named in the report to find where configured kiosk state can be recorded and shared across browsers. Done means devices entering their configured kiosk through bulk or Run command show the correct remote action across browsers; the two additional device failures may need separate investigation.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Component
Server / REST API
What happened?
Version: server 0.5.0, agents 0.5.0 (also older agents), Docker install.
Steps:
- Select all devices in Devices → Run command → Exit kiosk. Devices leave kiosk.
- Select all again → Enter kiosk (bulk), same kiosk as the configuration.
- 27 commands finish DONE; 24 of those devices report kioskActive=true.
- Open any of these devices: Remote actions still shows "Return to configured kiosk"
as the primary action, as if the device were not in its configured kiosk.
Cause (web/src/data/kiosk.ts, configuredKioskState): a kiosk.enter counts as the
configured kiosk only if its id is in configuredKioskIds(), which lives in the
browser's localStorage and is written only by DeviceDetailPage
(rememberConfiguredKiosk). Bulk sends (BulkModals returnToConfiguredKiosk, Run
command) never record their ids, and another browser never sees them. The
server-side generations (kioskGeneration / kioskReturnGeneration) are only set by
the on-device return, so kioskReturnGeneration stays null for every device.
Expected: the "in configured kiosk" state should come from the server (e.g. mark
kiosk.enter as configured when its payload matches the configuration, or record it
server-side for bulk sends), not from one browser's localStorage.
Related, same rollout:
- One device rebooted, and 4 s after boot kiosk.enter returned DONE, but its state
still reports kioskActive=false (no kioskExit event after the command). - A second device now fails every command with "Unable to parse preferences proto."
(same as the earlier report: corrupted Preferences DataStore, no corruptionHandler).
Steps to reproduce
0
MDMesh version / commit
0.5.0
Environment
No response
Relevant logs
Before submitting
- I searched existing issues and this isn't a duplicate.
- I'm not reporting a security vulnerability here (those go via private disclosure, not a public issue).
- Lenguaje dominante
- Java
- Estrellas
- 44
- Forks
- 25
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 80
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MDMesh-app/MDMesh
-
enhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
MDMesh-app/MDMesh#252 ·
Los mantenedores suelen responder en 2 días
-
Change Kiosk TitleAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
MDMesh-app/MDMesh#253 ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
MDMesh-app/MDMesh#205 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
MDMesh-app/MDMesh#204 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
MDMesh-app/MDMesh#199 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 2 días
Todos los issues de MDMesh-app/MDMesh
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug devops low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
aphtech/brailleblaster#209 ·
Los mantenedores suelen responder en 1 día