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.
Got this error while I enabled JavaScript toggle for flag and user not allowed to unflag node.
This error prevent replacing flag link with Unflag not allowed text.
attached patch that fix this bug.
Comment | File | Size | Author |
---|---|---|---|
flag-fix-undefined-nodeType-js.patch | 1.03 KB | melsawy | |
Comments
Comment #1
cs_shadow CreditAttribution: cs_shadow commentedFixing issue status.
Comment #3
cs_shadow CreditAttribution: cs_shadow commented@melsawy, This patch is not valid.
The location of files should not be inside 'sites/all/...', you need to clone the repo of this module, perform the changes there and then create a patch.
Comment #4
joachim CreditAttribution: joachim commentedVersion should also be set to the current branch head (against which patch should be rolled too).