[GH-ISSUE #420] Sometimes, I click reply, or reply to all, and the email is blank. If I cancel and try again, it works OK. #347

Closed
opened 2026-02-25 21:34:48 +03:00 by kerem · 12 comments
Owner

Originally created by @marclaporte on GitHub (Aug 11, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/420

Originally assigned to: @jasonmunro on GitHub.

Seen by at least Jason and myself. No pattern to reproduce yet.

https://gitter.im/cypht-org/community?at=5f307abefe39ca5d65902d7c

Originally created by @marclaporte on GitHub (Aug 11, 2020). Original GitHub issue: https://github.com/cypht-org/cypht/issues/420 Originally assigned to: @jasonmunro on GitHub. Seen by at least Jason and myself. No pattern to reproduce yet. https://gitter.im/cypht-org/community?at=5f307abefe39ca5d65902d7c
kerem 2026-02-25 21:34:48 +03:00
  • closed this issue
  • added the
    bug
    smtp
    labels
Author
Owner

@marclaporte commented on GitHub (Sep 17, 2020):

@jasonmunro Can you think of anything I could do to detect the pattern?

<!-- gh-comment-id:694459328 --> @marclaporte commented on GitHub (Sep 17, 2020): @jasonmunro Can you think of anything I could do to detect the pattern?
Author
Owner

@marclaporte commented on GitHub (Oct 2, 2020):

I have been to reproduce something odd: forwarded message as attachment appears more than once:
Screenshot_20201002-134717

To do this

  • On a message, click "forward", then back (with your browser), then forward again, etc.
<!-- gh-comment-id:702874390 --> @marclaporte commented on GitHub (Oct 2, 2020): I have been to reproduce something odd: forwarded message as attachment appears more than once: ![Screenshot_20201002-134717](https://user-images.githubusercontent.com/1004261/94954081-8f51e500-04b6-11eb-9cc7-2d6edbac5010.png) To do this * On a message, click "forward", then back (with your browser), then forward again, etc.
Author
Owner

@jasonmunro commented on GitHub (Feb 9, 2021):

This issue should be resolved in the master branch

<!-- gh-comment-id:775679486 --> @jasonmunro commented on GitHub (Feb 9, 2021): This issue should be resolved in the master branch
Author
Owner

@marclaporte commented on GitHub (Feb 9, 2021):

@jasonmunro: I still get many attachments when doing:

"On a message, click "forward", then back (with your browser), then forward again, etc."

<!-- gh-comment-id:776164715 --> @marclaporte commented on GitHub (Feb 9, 2021): @jasonmunro: I still get many attachments when doing: "On a message, click "forward", then back (with your browser), then forward again, etc."
Author
Owner

@jasonmunro commented on GitHub (Feb 9, 2021):

that should be it's own issue as it is unrelated to this particular problem

<!-- gh-comment-id:776167102 --> @jasonmunro commented on GitHub (Feb 9, 2021): that should be it's own issue as it is unrelated to this particular problem
Author
Owner

@marclaporte commented on GitHub (Feb 10, 2021):

I confirm blank emails are solved by github.com/jasonmunro/cypht@2a9060a17a

Thanks!

<!-- gh-comment-id:776486008 --> @marclaporte commented on GitHub (Feb 10, 2021): I confirm blank emails are solved by https://github.com/jasonmunro/cypht/commit/2a9060a17acf6b19abdd8f0a4e9dc84a3fb42ef7 Thanks!
Author
Owner

@marclaporte commented on GitHub (Feb 12, 2021):

I am still getting some. But it happens less often.

I also noticed some on "forward"

<!-- gh-comment-id:778342000 --> @marclaporte commented on GitHub (Feb 12, 2021): I am still getting some. But it happens less often. I also noticed some on "forward"
Author
Owner

@marclaporte commented on GitHub (Feb 16, 2021):

The trick I described above (On a message, click "forward", then back (with your browser), then forward again, etc.) no longer works because that issue has been fixed by https://github.com/jasonmunro/cypht/pull/453

blank message on reply sometimes still occur. See: github.com/jasonmunro/cypht@2a9060a17a (commitcomment-47201666)

<!-- gh-comment-id:780143676 --> @marclaporte commented on GitHub (Feb 16, 2021): The trick I described above (On a message, click "forward", then back (with your browser), then forward again, etc.) no longer works because that issue has been fixed by https://github.com/jasonmunro/cypht/pull/453 blank message on reply sometimes still occur. See: https://github.com/jasonmunro/cypht/commit/2a9060a17acf6b19abdd8f0a4e9dc84a3fb42ef7#commitcomment-47201666
Author
Owner

@marclaporte commented on GitHub (Sep 1, 2021):

This problem persists to this day, but I hope it is the same root cause as discussed at https://github.com/jasonmunro/cypht/pull/508 and thus, be resolved soon.

<!-- gh-comment-id:910751023 --> @marclaporte commented on GitHub (Sep 1, 2021): This problem persists to this day, but I hope it is the same root cause as discussed at https://github.com/jasonmunro/cypht/pull/508 and thus, be resolved soon.
Author
Owner

@marclaporte commented on GitHub (Oct 8, 2021):

AFAICT, this is solved with latest code. If I see the issue again, I will re-open.

<!-- gh-comment-id:938775460 --> @marclaporte commented on GitHub (Oct 8, 2021): AFAICT, this is solved with latest code. If I see the issue again, I will re-open.
Author
Owner

@marclaporte commented on GitHub (Mar 13, 2023):

So I was still having this intermittent problem, so @kroky dove in.

It turns out to be a race condition in AJAX requests executed in the background when Cypht is integrated in Tiki, and when "Session storage location" is DB. Switching to "Default (from php.ini) solves it. We'll experiment a bit more and add a fix to Tiki.

<!-- gh-comment-id:1465501058 --> @marclaporte commented on GitHub (Mar 13, 2023): So I was still having this intermittent problem, so @kroky dove in. It turns out to be a race condition in AJAX requests executed in the background when Cypht is integrated in Tiki, and when "Session storage location" is DB. Switching to "Default (from php.ini) solves it. We'll experiment a bit more and add a fix to Tiki.
Author
Owner

@marclaporte commented on GitHub (Mar 13, 2023):

For the record: gitlab.com/tikiwiki/tiki/-@5281f16493

<!-- gh-comment-id:1466601182 --> @marclaporte commented on GitHub (Mar 13, 2023): For the record: https://gitlab.com/tikiwiki/tiki/-/commit/5281f16493abe46df57678ec329f8b6124d8aa8e
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#347
No description provided.