Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Commento top-level comments import #1701

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Conversation

paskal
Copy link
Sponsor 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.

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.
Copy link

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
3 checks passed
@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