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:
- I edit a lesson, embed the video as usual, and upload the files I want to attach (PDFs, etc.).
- I save everything, and it looks fine.
- Some time later, when I go back to edit the same lesson, the files are gone... it looks like they were never uploaded.
- At first, I assumed I forgot to upload the files. So I uploaded them again.
- 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!
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.