moodle-format_flexsections icon indicating copy to clipboard operation
moodle-format_flexsections copied to clipboard

Cannot duplicate section and subsection

Open hoangkhanh2002 opened this issue 1 year ago • 1 comments

Hi Marina - We can't duplicate sections and subsections, they get error. Hope you fix it soon. Thank you very much

hoangkhanh2002 avatar Aug 09 '23 13:08 hoangkhanh2002

Thanks for reporting it. I did not realise that the "Duplicate section" functionality was added recently (in Moodle 4.2)

Currently this action does nothing at all in the format flexsections because of some weird parameters in the duplicate section URL, it was easy to fix, but when I fixed it I realised that the core implementation of the section duplicating also has problems. I created https://tracker.moodle.org/browse/MDL-80505 and also linked to existing bug report https://tracker.moodle.org/browse/MDL-78080 that describes more problems.

I will look how I can address this problem in this plugin

marinaglancy avatar Dec 29 '23 20:12 marinaglancy

Release 4.1.0 is now available and it supports section duplication.

If you are updating the plugin through git, note that it is now in a different branch, MOODLE_401_STABLE

marinaglancy avatar May 22 '24 09:05 marinaglancy