Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiblock - Text Blocks appear to duplicate at times #108

Open
jprovasnik opened this issue Jan 23, 2024 · 5 comments
Open

Multiblock - Text Blocks appear to duplicate at times #108

jprovasnik opened this issue Jan 23, 2024 · 5 comments

Comments

@jprovasnik
Copy link

jprovasnik commented Jan 23, 2024

I'm using Moodle 4.1 Workplace and I notice that Multiblock textblocks appear to 'duplicate' at times when I have a bunch of Text Blocks (so there are 2 of each text block) -- ever seen this before? Just trying to figure out what I (or my site) might be doing to cause this, or if a scheduled task is somehow contributing. Happens to blocks in both Tabs and Accordion. I know Workplace isn't something that developers support, so I really just wanted to ask if this has been seen before in regular Moodle instances.

dupliate

@danmarsden
Copy link
Member

Thanks for the report - I haven't heard of anyone mentioning this before - I assume this isn't a display-only issue, and when you edit the block you see the duplicates there as well? - if so, I'd be suspicious of a restore or import process that is causing the duplicates - did you create this course from a template course or use an import process to restore something within the course?

@jprovasnik
Copy link
Author

jprovasnik commented Jan 23, 2024

Yes, there are duplicate of the text blocks as well - half from back in November when they were added, and the other half appeared this morning. There are on a Moodle Workplace "Custom Page" so they live outside of the courses, but I'll look through the Logs and Scheduled Task Logs to see if there are any copy/import processes that ran around that time frame.

@jprovasnik
Copy link
Author

Ok, it coincided with a Log entry for when another workplace Custom Page was created. Will see if I can replicate this but at least I can line it up with an event now.

@jprovasnik
Copy link
Author

Ok - It's not from "adding" a new Custom Page, but instead it happens when "Duplicating" a Content Page that contains Multiblock, then the original Content page's Multiblock contents gets duplicated. So just what you had suspected. Ok, I know you don't work with Workplace, but I just wanted to report this. thanks!

@danmarsden
Copy link
Member

We do "work" with workplace (Catalyst is a Premium Moodle Partner), but I don't think we've had this reported with a workplace site yet - thanks for the report and the details on how to reproduce it though!

If you have internal development capabilities, feel free to submit a pull request (or ask your Moodle Partner to investigate and send us one.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants