I wrote a post yesterday and saved it with title X as unpublished while I was working on it. Then I decided to change the title to Y when I published it. The only problem is that the Disqus notification emails are using the old title X in the subject.

What makes this even more strange is that in all other places, including links the correct title Y is used.

This of course is not just confusing for those following a post as they wont be able to directly identify what post it is from the notification email. Worse is that it means that I am forced to come up with the final title before saving a draft post. In my case I often change the title several times as the content text develops while I write it.

Comments

tsvenson’s picture

Just discovered that the wrong title, as well as link, actually is used on the disqus website dashboard as well. Both for my personal activity page and the admin page for the blog integration.

However, when I hover over the time stamp on comments, the correct URL alias is used in the link.

This is pretty strange, especially as the first comment was made after the post was published and thus had the correct title.

Any ideas if this problem is in the Drupal integration module or at the Disqus server?

Anyhow, it needs to be looked at since it involves an URL alias that I normally would have manually deleted as it was never used for a published post. Result then would have been 404 pages for those links I assume.

egil’s picture

I see this issue as well. My best guess is that the URL reported to Disqus is the one that was originally generated for a node, and if that changes the change is not reported in.

As for the wrong URLs, the best and probably the right solution is to report node/xxx urls as these do not change.

Ideally, the Disqus module should submit updated titles and urls to Disqus when changes happen (edit: assuming Disqus supports this).

tsvenson’s picture

Priority: Normal » Major

As for the wrong URLs, the best and probably the right solution is to report node/xxx urls as these do not change.

Locking to "node/[nid]" would not be a good solution as disqus then only would work for full nodes. You can for example configure it to be a block and that block can then be used on any page, including taxonomy terms, user accounts and so on and they have completely different system paths.

Obviously the right, new, alias is reported to disqus as it is used in the comment "frame" correctly, but not on the disqus.com site and emails.

I'm upping this to a major issue. Main reason is that I have asked several of my friends and they all said that it is very common for them to change the title of a post as they are working on it. Thus this is a very real problem for sites using disqus.

mrsean’s picture

Issue summary: View changes

See my comment: https://drupal.org/comment/8686909#comment-8686909
The changes mentioned in my comment there may fix this issue as well.