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.
Problem/Motivation
Discovered in #3138746: Fix 45 "shouldBeCamelCased" and related typos in core and introduced by #1894644: Unidirectional editor configuration -> filter settings syncing
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#7 | wim_leers-comment.png | 35.17 KB | sulfikar_s |
#5 | 3181290-5.patch | 1.42 KB | longwave |
Comments
Comment #2
jungleComment #3
longwaveAs far as I could see these lines do nothing at all so we should probably just remove them.
Comment #4
alexpottI agree with #3 - it might be good to have a look and see what happened on #1894644: Unidirectional editor configuration -> filter settings syncing
Comment #5
longwaveThe patch this property was introduced in was #1894644-52: Unidirectional editor configuration -> filter settings syncing, the interdiff is https://www.drupal.org/files/interdiff_6257.txt
There are several references to
touchedByAllowedPropertyRule
in this interdiff but nothing for the similarly-named ForbiddenPropertyRule. Therefore I am certain this is dead code introduced while that patch was being worked on, but that never made it into the final version.Comment #6
jungleTagging "Needs subsystem maintainer review" if extra reviews are needed
Comment #7
sulfikar_s CreditAttribution: sulfikar_s at Zyxware Technologies commentedHello all, the patch in #5 applied cleanly.
Also I've verified that it is discovered in the
#1894644: Unidirectional editor configuration -> filter settings syncingand I agree with what @longwave said as there is no references found for 'touchedBytouchedByForbiddenPropertyRule'. So, +1 to removing it.@Wim Leers added the forbiddenPropertyRule as a part of his strategy, he mentioned the same in his comment on
#1894644: Unidirectional editor configuration -> filter settings syncing, you can see that part below,but as @longwave said,
So RTBC.
Comment #9
catchCommitted 70c1f6c and pushed to 9.2.x. Thanks!