Skip to content

Fix Commento top-level comments import#1701

Merged
paskal merged 1 commit intomasterfrom
paskal/fix_commento_import
Nov 18, 2023
Merged

Fix Commento top-level comments import#1701
paskal merged 1 commit intomasterfrom
paskal/fix_commento_import

Conversation

@paskal
Copy link
Copy Markdown
Collaborator

@paskal paskal commented Nov 18, 2023

Previously, top-level comments were incorrectly assigned parent comment id "root", which made them non-root, so they are not returned when requested in the /find?format=tree API call.

To fix the previously imported comments, please export all your comments and replace "pid":"root" with "pid":"" and then re-import them.

Resolves #1696.

@paskal paskal added the backend label Nov 18, 2023
@paskal paskal requested a review from umputun as a code owner November 18, 2023 19:26
Previously, top-level comments were incorrectly assigned
parent comment id "root", which made them non-root,
so they are not returned when requested
in the `/find?format=tree` API call.

To fix the previously imported comments, please export all your comments
and replace `"pid":"root"` with `"pid":""` and then re-import them.
@paskal paskal force-pushed the paskal/fix_commento_import branch from e979495 to e0cd5be Compare November 18, 2023 19:27
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 18, 2023

Pull Request Test Coverage Report for Build 6915859953

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 84.782%

Totals Coverage Status
Change from base Build 6756329544: 0.04%
Covered Lines: 5900
Relevant Lines: 6959

💛 - Coveralls

@paskal paskal merged commit ce678bf into master Nov 18, 2023
@paskal paskal deleted the paskal/fix_commento_import branch November 18, 2023 19:30
@paskal paskal added this to the v1.13.0 milestone Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commento import results in a tree which refuses to be represented

2 participants