A failed theme update upload can leave its new versions installed
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
Línea de trabajo
Start with packages/builder-server/src/controllers/themeController.js and trace uploadTheme through the version folder copies, latest/ rebuild, and catch path. Add a test that forces a failure after copying an update version and checks that the installed theme remains unchanged; done when the test passes and failed update uploads leave the prior theme intact.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A theme update upload that fails near the end can leave its new versions installed.
When an upload adds update versions to an installed theme, uploadTheme (themeController.js) copies each new updates/<version>/ folder into the theme and then rebuilds latest/. If a step after the copy fails (the rebuild, or reading the final theme data), the catch removes themeDir only for a new theme, so the copied version folders stay while the response reports a failure. Predates the 2026-10-06 ZIP changes.
Done when: A failed update upload leaves the installed theme as it was, with a test.
Start: themeController.js. Source: 2026-10-06 review of the import checks.
- Lenguaje dominante
- JavaScript
- Estrellas
- 162
- Forks
- 6
- Merge medio
- 12 h 55 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 tsiger/widgetizer
-
question
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
tsiger/widgetizer#194 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tsiger/widgetizer#181 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
tsiger/widgetizer#175 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tsiger/widgetizer#174 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
tsiger/widgetizer#173 ·
Todos los issues de tsiger/widgetizer
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wazuh/wazuh-documentation#10584 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
InukaAsith/TwinDesk#84 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Graphify-Labs/graphify#4860 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
CommandCodeAI/command-code#1088 ·
Los mantenedores suelen responder en 2 días