Relations are not exported; Need full round-tripping

WHAT IS THE BUG

I exported my (small) graph and relationships like “Participants” in the Meeting Notes template are not included in the export. Humans don’t seem to be linked in any of my tests. This means information is lost even with pretty basic text-only formatting. Relationships should be exported and, ideally, recreated upon an import into a fresh Anytype database.

HOW TO REPRODUCE IT

  1. Create a new Meeting Note from template
  2. Add a Participants in that section, linking to an existing Human object.
  3. Export the graph/database into markdown
  4. Examine the markdown file (in text editor) to see that there is no information anywhere in the md file that has the relationship to the human.

THE EXPECTED BEHAVIOR

Relationships are exported, even if only as a normal markdown link to the markdown file created for the Human object.

SYSTEM INFORMATION

macOS Ventura
Anytype 0.31.0
Still reproducible on Windows 10/11 @ v0.37.18 beta.

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

Is this still part of the dev roadmap Angelo?

Reproducible on Windows 10/11 @ v0.37.18 beta.
Only mentions/links within the blocks are exported, on the other hand links created through the relations aren’t exported.

I’m currently using version 0.39.0 on Ubuntu and I noticed that this issue also seems to be the case for manually selecting and doing a CTRL-C style copy of everything in an object (e.g. a note). It does not copy the relations or their values, only the text typed directly in the page.

Maybe I’m missing something but It seems to me like there is not a way to get that data out again.

I was searching here and in GitHub but perhaps I’m not looking in the right place, I was hoping to find some information suggesting that this is being resolved somehow.

Hey @owlyph. You are unfortunately correct that it’s not possible to just copy the relation blocks and paste them into something like a text editor. Even though it’s connected, it’s still a separate issue. Do you mind creating a separate bug report?

Sure, thanks for the info.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.

Hi, unfortunately, I think there might be a bug with this because some of the properties still do not export: Please rally to prevent users from losing data in AnyType - #21 by owlyph

Hey, do you mind submitting a new bug report regarding this issue?

I just started writing the bug report and thought I’d try going through the process again in order to better explain it. And it worked just fine… the YAML data exported the way I would have expected it to. I guess I’m losing my mind… not sure why I had that sort of problem the other day. Happily, I guess there’s no need to file a new bug report. :slight_smile: