fix: preserve blocked status of course members in updateCourse SOAP call (0040575)#11602
fix: preserve blocked status of course members in updateCourse SOAP call (0040575)#11602sKarki999 wants to merge 1 commit into
Conversation
GitHamo
left a comment
There was a problem hiding this comment.
Looks good, I have tested it, but during my testing, I found that all the checkboxes are unchecked, not just blocked users. Maybe this ticket scope should be widened or a new separate ticket for it.
The issue occurs on trunk as well.
|
Hi @GitHamo , Thank you for catching that as well. On my quick investigation, i think this would require separate fix and hence i think a separate soap ticket would make more sense imo. Currently, since this bug report is primarily about the blocked users being unblocked, we can limit the scope of this PR to only this current fix. |
|
@sKarki999 As discussed, we keep the scope of this PR small. Collect the discovered issues in a new ticket with effort calculated. |
This PR addresses the issue outlined in Mantis #0040575, where blocked course members were silently unblocked after a
updateCourseSOAP call.Steps to Reproduce
addCourseSOAP call)updateCoursevia SOAP using the XML in Scenario 1 belowTest Scenarios
Scenario 1: Settings-only XML (no
<Members>block)Expected: Blocked user remains blocked after update.
Scenario 2: XML explicitly sends
blocked="No"Expected: User is unblocked
Scenario 3: XML sends
action="Detach"(user removed, not re-blocked)Expected: User is removed from course
If approved, must be picked for 11 and trunk.