anyproto / anytype-heart

Shared library for Anytype clients
https://anytype.io
Other
231 stars 47 forks source link

JSON doens't import tag values for tag relations #449

Open Shampra opened 11 months ago

Shampra commented 11 months ago

Have you read a contributing guide?

Current Behavior

The JSON import doesn’t import tags (even on an AT object that has been exported).

I’m working on a converter for imports (from Evernote), but if tag import doesn’t work, I can’t :disappointed_relieved:

Before export : image

After export → import (and you can see another bug : Description is back to featured relation) image

Exported file contains

Expected Behavior

Import must import tag values for tag relations of the object

Steps To Reproduce

  1. create an object (page), add tag in tag relation
  2. Export (JSON with all checked)
  3. Import your exported JSON
  4. No more tag…

Environment

- OS:Windows 10
- Version:0.35.2

Anything else?

No response

Shampra commented 9 months ago

Any ETA? I'm closely following this topic too, to finish the conversion tool as soon as possible. Thanks :)

fuksman commented 9 months ago

@Shampra, it should be delivered with the latest release, along with other fixes for the JSON import/export issues you reported. Please check 🙏

Shampra commented 9 months ago

Doesn't seem to work 😕.

Export this with all option checked
A page with no description (relation not as featured), and a tag relation with "Temporaire" and "Test" value : 

After import in another space : 

Shampra commented 9 months ago

Ah, sorry!
I just saw that there are several files generated during the export; the configuration of the tags must be in one of them, I'll take a look at how it works now. By importing everything, it worked. Except for the Description relation, it's still there, it clings stubbornly!

fuksman commented 9 months ago

@Shampra, we will look into the issue with featured relations. Thanks!