-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Have you read a contributing guide?
- I have read CONTRIBUTING.md
- I have searched the existing issues and didn't find any that were similar
- I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
Hello, maybe it is not a bug, but I can't update type_key (current type_key is "book") for my custom type with error:
{"status":400,"object":"error","code":"bad_request","message":"bad input: type key of bundled types cannot be changed"}
Same error when I am trying to update System type, but it is not a system type.
And also I can't get any object by this type, but type exist and objects exist:
Request:
{
limit
: 1,
types
: [
book
],
space_id
: space_id
}
always response: {"data":[],"pagination":{"total":0,"offset":0,"limit":1,"has_more":false}}
Expected Behavior
I can update type_key and can get objects by this type.
Steps To Reproduce
-
request to change type_key "book"
-
fail
-
get object by type_key "book"
-
no objects even if they exist
I am not sure that it is reproducible, for me it is only one type for now, but maybe someone else will catch same error. I guess the solution is just create new type and move all object to new type, but maybe it is better to understand problem and fix it.
Environment
- OS: macos 15+
- Version: 0.49.2
Anything else?
I am open to provide additional information, if reqired