Comments (3)
Hi Rafaella,
If the defaults assignment in classes/local/ltimodulemanager.php
is written into the
if branch, then it will work.
445 // Apply completion defaults.
446 $module = $DB->get_record('modules', ['name' => 'opencast']);
447 if ($module) {
448 $defaults = manager::get_default_completion($course, $module);
449 foreach ($defaults as $key => $value) {
450 $moduleinfo->$key = $value;
451 }
452 }
Please see the fork here: https://github.com/elke-hsh/moodle-block_opencast/tree/fix/defaults_on_condition
Greetings,
Elke
from moodle-block_opencast.
@elke-hsh, please can you make a pull request for this patch?
from moodle-block_opencast.
@elke-hsh, many thanks for the answer.
I'm sure I didn't make myself clear, but we have installed block_opencast version v4.3-r2 and the above-mentioned patch and we still get the error.
If we adjust the line 446 in classes/local/ltimodulemanager.php like this:
446 $module = $DB->get_record('modules', ['name' => 'LTI']);
so instead of 'opencast' insert 'LTI', it works.
from moodle-block_opencast.
Related Issues (20)
- missing string identifier HOT 1
- add configuration field for settingsFile Parameter
- Missing string identifier
- Performance Issue: Series with large amount of Events (100+) HOT 2
- "Invalid course module ID" When trying to create Episode/Series LTI HOT 2
- Deletion of other external lti tools HOT 7
- Suggestion: Add multi- / bulk upload feature HOT 5
- After deleting and re-adding an Opencast block, there are two Opwencast series with the same name HOT 4
- Enhancement: manual import - setting what to select per default
- Error "Can't find data record in database table modules." HOT 1
- Backward incompatibility of PHP versions
- Subtitles are not displayed in Paella Player 7 when using mod, filter or repository plugin HOT 1
- Subtitles are not available in the Moodle Block Plugin under Manage Transcriptions HOT 4
- Editor capability must be provided for videos in pending state (needscutting)
- Unexpected behavior by visibility change HOT 1
- Standard series deleted - Error with new standard
- Add Weekday to Overview HOT 1
- Setting uploadfilelimit_x should be continous not selection
- Series privileges
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-block_opencast.