Template don't change layout

WHAT IS THE BUG

Template don’t change layout as it should be

HOW TO REPRODUCE IT

  1. Create template with not basic layout
  2. Use this template for object
  3. See that layout wasn’t changed

THE EXPECTED BEHAVIOR

Layout can be changed using templates

ADDITIONAL CONTEXT


SYSTEM INFORMATION

  • OS:
    Windows 11 23H2
  • Anytype Version:
    v.0.35.15-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

This bug can be reproduced in 0.36.0

Hey @PavloUA,
Are you meaning that the template is not used when creating a new object? It’s working this way for me.
It’s currently not possible to apply templates to already existing objects.

No. I’m talking about applying the layout with template on an object.

Anytype has layout types:
— basic (headline, description & body)
— account (avatar, headline, description & body)
— note (body only)

If I create an object (all objects have basic layout by default) and apply template with account template — layout doesn’t change. I need to do this changes manually (earlier everything was fine)

Got it now. The issue is, that the layout type “Profile” is not used. It works fine with the default one.

Steps to reproduce:

  1. Create new template of Type X

  2. Change the layout of the template to "Profile

  3. Create new object of type X and in the upper menu select the new template (right one)

  4. The content will be used. But not the profile picture layout.

Version 0.36.0

1 Like

This report has been added to our issue tracker and received by the Development Team.