Skip to main content

Possible Bug: Lesson Files Disappear and Reappear After Saving

Hi everyone and Shahjahan Jewel,Β 
I'm experiencing a strange behavior when editing lessons in FluentCommunity, and I'm trying to figure out if this is a bug or something related to my server setup.

Here’s what’s happening:

  1. I edit a lesson, embed the video as usual, and upload the files I want to attach (PDFs, etc.).
  2. I save everything, and it looks fine.
  3. Some time later, when I go back to edit the same lesson, the files are gone... it looks like they were never uploaded.
  4. At first, I assumed I forgot to upload the files. So I uploaded them again.
  5. But after saving and previewing the lesson, I see both the newly uploaded files and the original ones... the ones that had previously disappeared.

This made me think it might be a cache issue.
In my environment, I’m using Redis for object caching and Nginx caching on the server (configured manually).

So my questions are:

  • Has anyone else experienced this behavior?
  • Could this be related to admin/editor caching?
  • Are there any caching recommendations specifically for FluentCommunity?

I'm trying to figure out if this is something on my end or potentially a bug.

Thanks in advance for any help!

Rafael Piton

Update:
I just ran a test using an incognito window, to completely bypass any browser or local cache, and the issue still persists.

When I edit a lesson, the previously uploaded files do not appear. But after uploading new files and saving, the old files reappear along with the new ones.

This seems to confirm that it’s not a frontend/browser caching issue.
Still unsure if it’s related to object caching (Redis) or something else on the backend.

Just wanted to share this update in case it helps narrow down the root cause.