Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello. I create a few flags on the comment entity. Then, I use them. But when I reload the page marked is only the last flag is used, the others are shown as not marked. However, the database information stored on these flags.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2765309-3.flag_.comment-multiple-flags-load.patch | 932 bytes | joachim |
|
Comments
Comment #2
bangkpow CreditAttribution: bangkpow commentedI'm having the same issues.
In practice, this means a user can not effectively set two flags for a comment. it's impossible to "Bookmark" and "Like" a comment at the same time.
Comment #3
joachim CreditAttribution: joachim commentedI'm able to reproduce this, though the problem is nothing to do with the action of flagging, but purely with the displaying of a comment with two flags on it.
Here's a patch. Please test!
Comment #4
bangkpow CreditAttribution: bangkpow commentedIt works, but I had to change path in your patch file, it threw an error: can't find file to patch at input line 5.
Comment #5
joachim CreditAttribution: joachim commentedThanks!
(Did you use patch -p1? The patch applies fine for me.)
Comment #7
joachim CreditAttribution: joachim commentedCommitted.
Comment #8
joachim CreditAttribution: joachim commented