Es posible que se trate de un error, pero no estoy seguro de por qué esto no funciona:
Pasos para reproducir.
Entra en un Tema
Ve al final del Tema y pulsa Responder
Empieza a redactar tu Tema en el Compositor
Pulsa las flechas hacia abajo para minimizar el Compositor
Cierra el Compositor
Cuando se te pida, guarda tu Borrador
Pulsa de nuevo el botón Responder
Resultado esperado:
Resultado real:
¡El borrador no se ve por ninguna parte!
SIN EMBARGO
El borrador existe en mi lista de borradores
Si actualizo el Tema, el Compositor se abrirá automáticamente y aparecerá el borrador.
Esto parece una oportunidad perdida, ¿o es deliberado?
4 Me gusta
Ethsim2
(Ethan )
12 Julio, 2025 08:18
2
Siempre he pensado que deliberadamente. Sin embargo, noto que después de intentar escribir un nuevo borrador donde estaba el borrador antiguo, aparece una indicación de pausa/recarga.
mcwumbly
(Dave McClure)
13 Julio, 2025 01:36
3
@davidb ¿puedes echar un vistazo a este?
Suena similar a lo que estás trabajando aquí, pero no estoy seguro de que sea exactamente el mismo problema:
main ← load-post-draft-from-reply-btn
opened 03:26PM - 09 Jul 25 UTC
In the past we have always relied on automatically opening the composer and auto… loading the existing draft when visiting a topic that has a draft post reply. This is fine to auto load the draft, but when the composer is closed and reopened on the same page then we have an issue.
The result is that the draft is then deleted because the draft key is set and the composer body is blank, since it has never been populated when clicking the reply to post button.
To solve this we can check for existing drafts when clicking the reply to post button, then load the draft into the composer.
_The challenging part of this change is that we have a number of tests that were relying on a false positive. Hence in the specs I have switched some tests to use a fixture that does not have drafts and in some cases kept the same fixture but mocked the response as having no drafts returned._
Internal ref: /t/-/158209
Hice una prueba rápida yo mismo y parece que la PR lo soluciona.
3 Me gusta
davidb
(David B)
14 Julio, 2025 07:21
5
Gracias por informar y por la reproducción, el PR que compartió @mcwumbly arriba solucionará esto. Si no hay problemas, debería fusionarse esta semana.
3 Me gusta
davidb
(David B)
16 Julio, 2025 08:03
6
Esto se fusionó ayer, probé un borrador sobre este tema y parece estar funcionando correctamente.
1 me gusta
davidb
(David B)
Cerrado
19 Julio, 2025 08:03
7
Este tema se cerró automáticamente después de 2 días. Ya no se permiten nuevas respuestas.