Somehow the Drupal module has connected one thread to multiple nodes (identifiers). When looking at the raw JSON that is attached with the Disqus iFrame (double-checked with the API console), I found that the thread had multiple Disqus Identifiers.

"identifiers":[
      "node/113",
      "node/112",
      "node/111"
    ]

This causes the same comments to appear on multiple nodes, which we definitely do not want.

I couldn't find any settings in the Disqus UI (on either disqus.com or in the Drupal backend) to change this.

The site is in prod so we don't want to put any sandbox modules on it.

I guess I have two question in the end,
1) How did this happen?
and
2) How do I fix it?

Thank you in advance.
Logan

PS This could be a bug but I am not sure.

Comments

loganfarr created an issue.

hugronaphor’s picture

It may be fixed already on 7.x-1.x branch ( http://cgit.drupalcode.org/disqus/commit/?id=4106224 ) by using db_merge() instead of drupal_write_record() .

slashrsm’s picture

True. Please try latest -dev and let us know if it fixes the issue.

suchdavid’s picture

I tried, but it din't not solve the problem. Probably because - at least in my case - the issue is caused by what disqus_identifier js variables attached to wichh threads when disqus is loaded.