nameAlreadyExists error with OneDrive accessed controlled links

Re: nameAlreadyExists error with OneDrive accessed controlled links

by Paul Lindgreen -
Number of replies: 0
Picture of Particularly helpful Moodlers
I have the same issue, moodle 3.5.12 and OneDrive. For Assignments I can upload a copy of the file but the ACL throws the error below.

Strangely, I can overwrite the uploaded file with an ACL, so the ACL almost works as expected ?!

Is this a moodle or microsoft issue?

====================

Exception - nameAlreadyExists: The specified item name already exists.

More information about this error

×Debug info:
Error code: generalexceptionmessage
×Stack trace:
line 123 of \lib\classes\oauth2\rest.php: core\oauth2\rest_exception thrown
line 674 of \repository\onedrive\lib.php: call to core\oauth2\rest->call()
line 943 of \repository\onedrive\lib.php: call to repository_onedrive->create_folder_in_folder()
line 1063 of \lib\filelib.php: call to repository_onedrive->reference_file_selected()
line 328 of \lib\filelib.php: call to file_save_draft_area_files()
line 229 of \mod\assign\submission\file\locallib.php: call to file_postupdate_standard_filemanager()
line 7096 of \mod\assign\locallib.php: call to assign_submission_file->save()
line 7176 of \mod\assign\locallib.php: call to assign->save_submission()
line 456 of \mod\assign\locallib.php: call to assign->process_save_submission()
line 55 of \mod\assign\view.php: call to assign->view()