Hi all
This relates to an installation I’ve upgraded to Tutor/MFE v20
Wondering if anyone else could try this out and see if you have the same issue as me.
I’ve noticed that when I’m working in Studio and switching between the Content-Files menu and any other menu, (eg Content-Outline) and then go back into Files, it seems to create a duplication of all the uploaded files.
Example if I have 2x files uploaded and then switch back to the Outline, then back to Files, it duplicates the 2x files I already have. It seems to just be a rendering bug and not an actual duplication, since if I refresh the page it goes back to just the 2x files I actually have.
This example shows the repeated duplication of the same files after switching back and forth a few times
Not sure if I did it correctly (the official way) but think it looks like it’s working, this is what I did, please let me know if I did right? First time actually doing this so forgive me if I’ve done it in a silly way…
Created plugin linking to the eduNEXT:bc/authoring#2062 fork referenced on PR 2228
tutor plugins enable authoring_mfe
tutor config save
tutor images build mfe --no-cache
tutor local stop && tutor local start -d
Now the files are no longer duplicating when I switch back-and-forth between the files upload page.
Far as I can tell it looks like a success
EDIT: Actually looks like it’s only half success, I’m no longer getting duplications when switching between menus (so it does resolve my original query) but I just noticed that when I switch between courses then the previously opened course files are listed in the newly opened course files. it seems to stack as I open more courses, so if I open the Files menu on 5 different courses then all 5 courses files will show in the list, although if I (F5) refresh the page then it resets to only the current course’s files.
EDIT2: I reverted my changes to go back to the official/master branch and confirmed the issue with Files page showing the files that were uploaded for every course you’ve opened is there too, so I guess this PR only partially addresses the issues with the authoring mfe, I see this was raised in Issue 2062