Over the 4th of July holiday, we upgraded BlufftonToday.com from a patchy 4.6 version to to 4.72.

Since then a number of users have complained that editing a comment (which often is simply an attempt to fix a typo or a URL) causes that comment to move out of sequence -- to the bottom of the list.

We have configured comments as flat-expanded, date-oldest first, submission form displayed below post or comments.

As a potential workaround, several users have suggested we simply make comments uneditable by their authors. There doesn't seem to be a way to do that.

Comments

magico’s picture

Any news about this from other users that have comments enabled for edition?

magico’s picture

Status: Active » Fixed
dkruglyak’s picture

Version: 4.7.2 » 4.7.3
Status: Fixed » Active

Why is this marked fixed? I do not see a solution...

magico’s picture

@dkruglyak: thank you for giving some attention to this issue. Could you give us some steps, code, partial database so we can test this problem? Or even better, could you test if Drupal 5 has this problem, so we can try to fix or backport the necessary code to fix this issue?

One more time, thank you for the time you'll spend to find a solution for this issue.

atria’s picture

drupal 5.1 has this problem as well

fgm’s picture

Status: Active » Postponed (maintainer needs more info)

Just tested on Drupal 5.1, with these settings: flat, expanded, oldest first, do not display comment controls, subject enabled, preview required, separate page.

The problem can not be reproduced.

dkruglyak’s picture

Version: 4.7.3 » 5.1
Status: Postponed (maintainer needs more info) » Active

OK, I think now I understand the discrepancy & why this is hard to reproduce...

The current behavior is that comments can be edited only if they have not been replied to. When comment is edited its date is updated with current timestamp. IF the global comment setting is threaded, even though the date is updated, the threading relations ensure comments are displayed in proper order. However, IF the global comment display setting is flat list these relationships are ignored and comments are dumped in date order with newly edited ones sinking to the bottom.

So there is no problem when comments are threaded and there is one when they are flat. Perhaps the solution would be to disable comment editing when flat display setting is on ?

Marking 5.1, as 4.7.x is nearing the sunset.

catch’s picture

Status: Active » Closed (duplicate)