Describe the bug
While getting drives list after creating, deleting and agian creating the same user, sometimes the personal drive is missing.
馃憠 Also, file and folder creation results in 404 or 409.
Steps to reproduce
Create a user
curl -XPOST https://localhost:9200/graph/v1.0/users -u admin:admin \
-d '{
"onPremisesSamAccountName": "alice",
"passwordProfile": {"password": "1234"},
"displayName": "Alice Hansen",
"mail": "alice@mail.test"
}' -k
Get drives list by the new user
curl 'https://localhost:9200/graph/v1.0/drives' -u alice:1234 -k
Delete the user
curl -X DELETE 'https://localhost:9200/graph/v1.0/users/%user_id%' -u admin:admin -k
Repeat steps 1-2 and the response should only include the shares drive
{
" value " : [
// no personal drive
{
" driveAlias " : " virtual/shares" ,
" driveType " : " virtual" ,
" id " : " a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668" ,
" name " : " Shares" ,
" root " : {
" eTag " : " DECAFC00FEE" ,
" id " : " a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668" ,
" webDavUrl " : " https://localhost:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668"
},
" webUrl " : " https://localhost:9200/f/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668"
}
]
}
Use this script to test it with ease : https://gist.github.com/saw-jan/b35afe7d9190e9c9796a63cf421c5ff4
鈩癸笍 To make this work, we need to wait about 9-10 seconds (before creating user second time or before listing drives on the second try)
Expected behavior
Expected to see personal drive
Actual behavior
No personal drive in the list
Setup
OpenCloud: 7.5.0
Note
This works consistently with OpenCloud 7.4.0
Describe the bug
While getting drives list after creating, deleting and agian creating the same user, sometimes the personal drive is missing.
馃憠 Also, file and folder creation results in
404or409.Steps to reproduce
Use this script to test it with ease: https://gist.github.com/saw-jan/b35afe7d9190e9c9796a63cf421c5ff4
Expected behavior
Expected to see personal drive
Actual behavior
No personal drive in the list
Setup
OpenCloud:
7.5.0Note
This works consistently with
OpenCloud 7.4.0