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

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

Open
s-at-dq opened this issue Jan 25, 2023 · 1 comment

Comments

@s-at-dq
Copy link

s-at-dq commented Jan 25, 2023

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
Copy link

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

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