SharePoint driver: Missing info in cache when directory created #208
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Have a client who is switching to the new driver and reported that when creating a directory, then calling
is_writable()
, the newly created directory is not writable.Example:
Reason appears to be that in
Sharepoint::mkdir()
it tries to update the info once the create is done, but the API response is possibly incorrect or has changed so the info is not updated/added to the info cache internally. This means that the next call toSharepoint::is_writable()
will not be able to find info and hence will returnfalse
.created merge request !105 to address this issue
mentioned in merge request !105
Turns out it's actually not creating the directory at all due to an issue with formatting the paths. It is adding an extra '/' in the path which is making Sharepoint reject the request to create the directory. Fixing that issue then everything else worked as expected.
mentioned in commit 7d17b72b01db9835bbff13ac20aaf6ada66d63d4