academic-moodle-cooperation / moodle-mod_publication

Online texts and files can be collected and published via the Student Folder activity and thus made available to everyone in a Moodle course. Submissions can be made directly by uploading or alternatively can be taken over by teachers from an assignment activity.
https://academic-moodle-cooperation.org/mod_publication/
12 stars 21 forks source link

Does not update files #79

Closed cdipe closed 5 months ago

cdipe commented 8 months ago

Moodle 4.1.8, Student Folder v4.1.1 2022121201 Group assigment. First submission was published as expected, but when a submission was reverted to draft and updated, the first submission is still showing in the Student folder. The button Update files makes no difference.

mwreichel commented 7 months ago

Hi @cdipe, thanks for reporting this. We'll have a look on it.

Martin

mwreichel commented 5 months ago

Hi @cdipe, we already had a closer look on that and this bug is already fixed in the current version of the plugin. Due to that we won't fix it for previous versions.

cdipe commented 5 months ago

Hi @mwreichel do you know if the 4.2.2 version is compatible with moodle 4.1.10?

moniNaydenov commented 5 months ago

Hi @cdipe ,

technically, yes, you can use it, but:

  1. in version.php, you have to change the $plugin->requires = 2023042400; to $plugin->requires = 2022112800;
  2. in moodle 4.1, you don't have the secondary navigation in the header of the activity, so you'll have to use the "Student folder administration" menu to get to the "File submissions" tab, and the breadcrumb to get back to the activity's main page:

Moodle 4.1:

moodle4 1

Moodle 4.2 and onwards: moodle4 2

Apart from that, after some testing, it seems to be working fine :)

Good luck!

cdipe commented 5 months ago

@moniNaydenov , thank you!!