Closed grabs closed 3 years ago
Merging #22 into master will decrease coverage by
0.02%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #22 +/- ##
============================================
- Coverage 14.04% 14.02% -0.03%
Complexity 137 137
============================================
Files 17 17
Lines 698 699 +1
============================================
Hits 98 98
- Misses 600 601 +1
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
moodle/mod/collabora/classes/api.php | 0.00% <0.00%> (ø) |
33.00% <0.00%> (ø%) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5486343...33ea0fd. Read the comment docs.
This is a fix mod_collabora
Description
If you have a course set on
groupmode = SEPARATEGROUPS
and additionallygroupmodeforce = yes
, then you can not edit new created collabora documents. Inmod_collabora\api::parse_fileid()
the groupmode is checked only by asking the groupmode property from the cm instance$this->cm->groupmode
. So the setting in the course is falsely ignored. The effective groupmode should be ask by using the functiongroups_get_activity_groupmode()
.Test instructions
Group mode: Separate groups
andForce group mode: Yes
.