#14 Auto-saved draft is sometimes wiped out

Zamknięty
otworzone 6 lat temu przez matt · 3 komentarzy
matt skomentował(-a) 6 lat temu

Occasionally I’ll leave the app after writing something, come back, and see a blank editor. For some reason, the draft.txt is getting automatically cleared out sometimes.

Occasionally I'll leave the app after writing something, come back, and see a blank editor. For some reason, the `draft.txt` is getting automatically cleared out sometimes.
matt dodał(-ęła) etykietę
high priority
5 lat temu
adrian skomentował(-a) 5 lat temu
Współpracownik

O.K., maybe this is something I can fix. It’ll be difficult to figure out the cause, but it appears to be a problem with the save routine rather than the read routine.

So while I can’t figure out why it wants to write nothing out to the file, maybe I can guard against that happening.

O.K., maybe this is something I can fix. It'll be difficult to figure out the cause, but it appears to be a problem with the save routine rather than the read routine. So while I can't figure out why it wants to write nothing out to the file, maybe I can guard against that happening.
adrian skomentował(-a) 5 lat temu
Współpracownik

And now I think I’ve fixed this. Hard to know for sure, but I gave the bug a long time to reoccur in my testing.

I don’t know what was causing it but it appears I can check if the bug’s about to happen and stop it from taking affect.

And now I think I've fixed this. Hard to know for sure, but I gave the bug a long time to reoccur in my testing. I don't know what was causing it but it appears I can check if the bug's about to happen and stop it from taking affect.
adrian zamknął(-ęła) to zgłoszenie 5 lat temu
matt skomentował(-a) 5 lat temu
Właściciel

Excellent -- yeah, from my testing it seemed like the write was the problem (the draft file was blank on disk after closing the app). I’ll pull in the changes and test here too.

Excellent -- yeah, from my testing it seemed like the write was the problem (the draft file was blank on disk after closing the app). I'll pull in the changes and test here too.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak kamienia milowego
Brak przypisanych
Uczestnicy 2
Powiadomienia
Termin realizacji

0001-01-01 Zaległe

Zależności

To zgłoszenie nie ma w tej chwili żadnych zależności.

Ładowanie…
Nie ma jeszcze treści.