When changing a collection to a different type previously linked objects don't appear anywhere anymore

What’s The Bug?

Transform a collection into a page doesn’t keep correctly object in this collection : it’s always linked to the page but not visible

How To Reproduce It

  1. Create a collection “Item 1”
  2. Create an object page “Page” in this collection
  3. Add Item 1 as a widget
  4. Transform collection to page type
  5. Observe : you have now an empty collection in Item1 and nothing else BUT in the widget you always have “Page”

The Expected Behavior

When you transform a collection into a page, several possibilities:

  • Either the collection becomes an inline collection while retaining all the objects it contains (currently, an inline collection appears, but it is empty!) → pehaps an oversight in modifying the links?
  • Or all objects must be moved to the page : they’re already linked but not diplayed

Additional Context

Bug detected here :

In this case, I have ghost object : if I delete it, it keep in the menu. If I “remove permanently”, I’ve “Non existent objet”… but I cannot reproduce.

Device

PC

OS

Windows 10

Anytype Version

v0.40.8

Technical Information

OS version: win32 x64 10.0.19045
App version: 0.40.8
Build number: build on 2024-04-25 13:28:54 +0000 UTC at #4ec64b016e2be3a5229dc865452c066f653e209c (dirty)
Library version: v0.33.2
Anytype Identity: AAjseTQm4rPT4g8k1n5Fgoje1U2DePBmLjcpakhqgq2oimvi
Analytics ID: 190ff822-51bc-498f-8ef2-7f65ac67b482
Device ID: 12D3KooWGgLLyuMZ3PVpAocGGSxggM9sVCctimnJ6VEZy8G6G6a2

Your instructions are a bit unclear. I’ve reproduce your issue from the How To Reproduce It section, but I’m not really sure how the part in Additional Context is related.

Also, your title is a bit unclear since the page object (item) is never deleted.

Title changed :slight_smile: .

At first I opened the bug for these deleted objects, but I couldn’t reproduce it, I must be missing a step.

So I think it’s related: a problem appears when you transform a collection into a page.
The most visible one is the one described.
And in some cases (which I’ll complete if I can reproduce it) deleted objects also appear. If it’s related, correcting the point described will correct the one described in “Additional Context”

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

Make a video please, I didn’t understand how you transform it into page.

Oh, I got it, this should not work as it is allowed by the bug, there are no restrictions in Collection.

This issue has been fixed and will be included in the next-release.