praxisdigital / moodle-block_sharing_cart

plug-in for Moodle LMS
0 stars 3 forks source link

Sharing Cart multiple instances #86

Open AraPraxis opened 1 year ago

AraPraxis commented 1 year ago

https://github.com/donhinkelman/moodle-block_sharing_cart/issues/86

If a lot of instances is loaded, then it's difficult to load a course. And even if allow_multiple_instances is false, Moodle still has it's way to load more than one instance.

AraPraxis commented 1 year ago

I've added a Moodle Tracker issue, as instance_created() in blocks can be used to fixed the multiple added instances, but the method runs after an instance is created, which is not a fully optimized way of removing it.

https://tracker.moodle.org/browse/MDL-77710

AraPraxis commented 1 year ago

Paul Holden has answered the Tracker issue - It was close to a duplicate of another issue which was closed as "not a bug", but he will address it as a bug to his team