Skip to content

local_o365: The Moodle profile description field is overwritten with the value "1" during synchronization (\local_o365\task\usersync) #3245

Description

@skytothefly

We encountered a problem where, with every sync task, the Moodle profile description field was overwritten for those users who had entered a description. All users who had not entered a description were not assigned a "1".
Important: In the field mapping settings (auth_oidc_field_mapping), we have not configured the "Description" field to be populated during synchronization or login = (not mapped).

A similar issue had already been described in 2020 at #1444 and subsequently resolved. It appears that this fix from back then was lost in the new version of the local_o365 plugin.

Fortunately, I found this fix: #3225

Descriptions are no longer prefixed with a "1" ; instead, they remain unchanged. Thanks, birdy1976.
Important: Only update the plugin once the code is complete again or reapply the fix manually.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions