Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
30.55 KB
MD5: 093a6085aaae3235f27bc20f866e24e9
SHA-1: 14e652f92d6d70e153be66d5e7dccdabca66b192
SHA-256: 7d0aaa994453980d66b8153c2f69a6697f64e64806f45150e6acf0981d42fe03
Download zip
49.93 KB
MD5: 9d3971ca595832a6e33295f4a22af052
SHA-1: 10059808424a1508a13ef738d588b4e6f31a1074
SHA-256: 5da57f45d778a2e3bcec702dc4a5089af6b3a19aa65c6963004975ab51c21842
Release notes
An entity without attempt settings of its own uses the field's default value instead of silently getting no attempt.
Fixed
- An entity without attempt settings of its own got no attempt at all, silently. This affected entities saved before the attempt settings field was added, or saved with the field left empty. Without an attempt type nothing was created, and learners' progress was lost.
AttemptFactory::getAttemptField(), and with itcreateAttempt()and the other lookups, now falls back to the field's default value. Without settings and without a default value nothing changes. - README: the default value of the field is described under Configuration.
Upgrade notes
- No database updates, no configuration changes.
- Give the attempt settings field a default value on every bundle where entities should always be tracked.
- SCORM Field 2.0.5 requires
drupal/attempt_mgmt ^1.0@beta, so this release can be installed without an alias of the development branch.
Changes since 1.0.0-beta2
- Use the field's default attempt settings for an entity without its own