Closed RealOrangeOne closed 9 months ago
Could you please attach the export of the comments which can be used to reproduce the issue? You could redact all confidential information from it.
Of course: remark-1696.json
Oh, and version remark42 v1.12.1-1f2500f-20230821T11:59:46
Redacted and not entirely representative of a usual export, but importing this into remark causes the issue. Imported with remark42 import -p commento -f ./var/data.json -s mysite
.
I've imported following the commento docs, and after some manual URL updating (I'll open a PR soon), the content imports. However, the tree it creates doesn't appear to be valid, and can't be represented by the API:
Notably, if I change
&format=tree
to&format=plain
, all comments are shown as expected, and a comment'spid
matches anotherid
, with root comments having apid
of "root". Example:The content is clearly there, as the
count
value is definitely correct - however it seems there's an issue when representing it as a tree