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.
When locale is enabled and we have a node with multilingual support enabled comments should be assigned the current content language, but actually the value stored is always LANGUAGE_NONE
. This was probably introduced by #635094: Unify "language neutral" language codes.
Comment | File | Size | Author |
---|---|---|---|
#6 | comment_language-871298-6.patch | 5.6 KB | plach |
#6 | comment_language-871298-6-test.patch | 6.48 KB | plach |
#4 | comment_language-871298-4.patch | 5.48 KB | plach |
#1 | tf-871298-1.patch | 898 bytes | plach |
Comments
Comment #1
plachEasy fix. Probably needs tests.
Comment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Moving to 'needs works' so we can add tests.
Comment #3
plachretitling
Comment #4
plachHere are the tests.
Comment #5
plachComment #6
plachHere is a rerolled patch.
The test-only version reverts the patch committed in #1 and is supposed to fail to show that the test captures the issue correctly.
Comment #8
plachThe green patch in #6 should be ready to go.
Comment #9
Dries CreditAttribution: Dries commentedLookgs good. Committed to CVS HEAD. Thanks.