Open Flottertotte opened 7 years ago
Hello, a quick update on above issue. It seems the root cause it not the single activity, but the activity which we added (facetoface module). Any hint very welcome! Flotter
Hmm, that looks like a bug in this plugin that would apply to any activity in a singleactivty format. You can probably semi dodgy work-around the issue by just adding a "limit 1" around here
But we'd have to dig in deeper to find out why that course has more than one activity despite being a 'singleactivity'. That might be normal, eg a hidden forum or something so we just have to deal with it gracefully. Are you in a position to sponsor improvements?
Thank you for the great plugin!
I run into a small problem: I have a course with single activity course format. If I use a direct link to this activity (such as: /mod/activityxy/view.php?id=123), the activity gets displayed and the url cleaned (eg.: /course/i+am+clean/). So that works fine.
But when I now hit the reload button in my browser (or use a link to the cleaned url directly), an error message appears:
Multiple records found, only one record expected. More information about this error
Debug info: Debug info: SELECT id,module FROM {course_modules} WHERE course = ? [array ( 0 => '71',)] Error code: multiplerecordsfound Stack trace:
I use moodle 3.3
Any help is very welcomed.
Flotter