-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
priority:p2Medium. For a p2 bug, generally have a work-around. Bug SLA <=30 daysMedium. For a p2 bug, generally have a work-around. Bug SLA <=30 daystype:bugA broken experienceA broken experience
Description
Describe the bug
I have a query that's using this code to retrieve a folder by name:
onedrive = await client.me.drive.get()
query_params = ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters(
filter="name eq 'some_name'"
)
config = RequestConfiguration(query_parameters=query_params)
subfolder = (await client.drives.by_drive_id(onedrive.id).items.get(request_configuration=config)).value
but suddenly it's not working anymore.
The filter based on the name just returns all 200 subfolders of onedrive.
Expected behavior
Just the folder with "some_name" is retrieved
How to reproduce
onedrive = await client.me.drive.get()
query_params = ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters(
filter="name eq 'some_name'"
)
config = RequestConfiguration(query_parameters=query_params)
subfolder = (await client.drives.by_drive_id(onedrive.id).items.get(request_configuration=config)).value
SDK Version
1.15.0
Latest version known to work for scenario above?
No response
Known Workarounds
Maybe switching to ChildrenRequestBuilder and using items.by_drive_items_id(ID).children.get(query_params with name filter)
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
cha45689
Metadata
Metadata
Assignees
Labels
priority:p2Medium. For a p2 bug, generally have a work-around. Bug SLA <=30 daysMedium. For a p2 bug, generally have a work-around. Bug SLA <=30 daystype:bugA broken experienceA broken experience