Can't create objects with /object_type_name

WHAT IS THE BUG

In Anytype 0.35.12-beta I can’t create objects using command /object-type_name. I can’t use command-based object creation with object types that named in cyrillic (in English everything works correctly)

I’m fully understand, that I installed pre-release version so it can contain bugs.

HOW TO REPRODUCE IT

  1. Open any object
  2. Tap on object text
  3. Press /
  4. Try to write object name in cyrillic (like “Проєкт”, “Завдання” etc)
  5. See that u don’t have options to create object like in 0.35.4 or older Anytype versions

THE EXPECTED BEHAVIOR

User can create objects with custom object types that named in Cyrillic.

ADDITIONAL CONTEXT

Bug only happens with non-english object type names.


SYSTEM INFORMATION

  • OS:
    Windows 11 23H2 Build 22631.2506
  • Anytype Version:
    v.0.35.12-beta
  • Tech Info:
    Версія ОС: win32 x64 10.0.22631
    Версія застосунку: 0.35.15-beta
    Номер збірки: build on 2023-11-02 15:57:43 +0000 UTC from at #a8295ce42e77462e3d000c517e2f49d982f4833c(v0.29.6)
    Версія бібліотеки: v0.29.6
    Ідентифікатор облікового запису: AAbC5JD1Cf2nv1boDjgHhFZiEkYp5Pf86UxSmwtkkn8sFBMp
    Ідентифікатор аналітики: A6Gn5BFjUVad8d8BMJW9GSPS4GVzuZeJZutYRWutEwneZnAN
    Ідентифікатор пристрою: A8K6Ga38RudJ4b6TSHUBMYGE9Qdq5WqBHQwxXZV7NDPXbrar

Updated: removed part of instructions from my bug-report
Updated2: added screenshot and screen recording

It’s not a bug, it just was not implemented as object types are not localised at the moment.

I’m not talking about system object types (Audio, Bookmark, Collection, File, Human, Image, Note, Page, Set, Task, Type & Video). I’m talking about object types that I created earlier.

In Anytype 0.35.4 (and older releases) I can create objects with my own object types with command “/” and in 0.35.15-beta this function stop working - this need to be fixed as it was in 0.35.4

I do not see any errors with your user, can you please show console log? Debug->Dev Tools, Debug->Flags->Middleware

It shows me similar to Chrome sidebar. Provide a screen recording.

Callback.BlockTextSetText
instrument.ts:124 
{error: {…}, event: {…}}
error
: 
{code: 0, description: ''}
event
: 
{contextid: '', traceid: ''}
[[Prototype]]
: 
Object
instrument.ts:124 Times.BlockTextSetText Middle:	10ms	Render:	3ms	Total:	13ms
instrument.ts:124 Request.BlockTextSetText
instrument.ts:124 
{contextid: 'bafyreici65ywha3q4xcfobsv72poqf452qe3nyz777yrkiolfbqa3bc2aa', blockid: '6544d02bb8b056108ced62b8', text: '', selectedtextrange: {…}}
instrument.ts:124 Callback.BlockTextSetText
instrument.ts:124 
{error: {…}, event: {…}}
instrument.ts:124 Times.BlockTextSetText Middle:	31ms	Render:	1ms	Total:	32ms
instrument.ts:124 Event.objectDetailsAmend bafyreici65ywha3q4xcfobsv72poqf452qe3nyz777yrkiolfbqa3bc2aa
instrument.ts:124 
{id: 'bafyreici65ywha3q4xcfobsv72poqf452qe3nyz777yrkiolfbqa3bc2aa', detailsList: Array(1)}
instrument.ts:124 Event.objectDetailsSet 
instrument.ts:124 
{id: 'bafyreici65ywha3q4xcfobsv72poqf452qe3nyz777yrkiolfbqa3bc2aa', details: {…}, subidsList: Array(2)}
instrument.ts:124 Request.BlockTextSetText
instrument.ts:124 
{contextid: 'bafyreici65ywha3q4xcfobsv72poqf452qe3nyz777yrkiolfbqa3bc2aa', blockid: '6544d02bb8b056108ced62b8', text: '', selectedtextrange: {…}}
instrument.ts:124 Callback.BlockTextSetText
instrument.ts:124 
{error: {…}, event: {…}}
error
: 
{code: 0, description: ''}
event
: 
{contextid: '', traceid: ''}
[[Prototype]]
: 
Object

And here what I’m talking about more clearly. I have custom object types. Before 0.35.15-beta I can create object with this type using /object_type_name. Now I can’t (screen recording added too).


ok, thanks, we will check

Thanks for fix in 0.36.0!