virtUOS / courseware

Interaktive multimediale Lernmodule erstellen und bereitstellen
GNU General Public License v2.0
6 stars 5 forks source link

Courseware-Migration kann in 5.2 wegen doppeltem Klassennamen nicht ausgeführt werden #287

Open s-at-dq opened 1 year ago

s-at-dq commented 1 year ago

Möchte ich einen Courseware-Datenbestand aus Stud.IP 4.6 mithilfe des Courseware-Plugins (5.0.9) in Stud.IP 5.2 migrieren, erhalte ich beim Aufruf des CLI-Skriptes folgende Meldung:

$ php7.4 cli/application.php courseware:migrate -v 2>&1 > ~/courseware-migration-20230125.log
Are you sure you want to migrate all coursewares at once? (y|n) y
PHP Fatal error:  Cannot declare class CoursewarePlugin\Container, because the name is already in use in .../studip/5.2/public/plugins_packages/virtUOS/Courseware/models/courseware/Container.php on line 11
noackorama commented 1 week ago

Damit ich nicht nochmal drüber stolpere: CACHING_ENABLE = false in der config_local, oder explizit cache löschen vor der Migration.