In the filter annotiation class an instance of public $module was missed in #2125045: Don't use module on filters anymore.
Beta phase evaluation
| Issue category | Bug |
|---|---|
| Unfrozen changes | Unfrozen because it only changes a class property to be accurate, and related documentation. |
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | module_instead_of_provider-2196977-21.patch | 1.8 KB | tadityar |
| #18 | interdiff.txt | 763 bytes | tadityar |
| #17 | module_instead_of_provider-2196977-17.patch | 1.84 KB | tadityar |
| #15 | module_instead_of_provider-2196977-15_1.patch | 1.84 KB | tadityar |
| #8 | module_instead_of_provider-2196977-8.patch | 1.84 KB | tadityar |
Comments
Comment #1
eric_a commentedComment #2
eric_a commentedComment #3
jhedstromComment #4
Poornima3 commentedInstead of module providing the filter its now to provider that owns the filter
Comment #5
tadityar commentedStatus change so that the submitted patch could be tested.
Comment #6
tadityar commentedComment #7
jhedstromTrailing whitespace here.
No need to leave this in place commented out.
Comment #8
tadityar commentedCorrected the patch.
Comment #9
jhedstromThis looks good to go!
I added a beta evaluation to the summary.
Comment #10
webchickOops, looks like we missed a spot. :) (the name of the key) Fixed on commit.
Since this is just a bug fix and not an API break, agreed that this is good to go post-beta.
Committed and pushed to 8.0.x. Thanks!
Comment #13
webchickOops, my bad! I forgot we are in a criticals/majors only freeze atm because there's a beta due out within the next few hours. (See https://groups.drupal.org/node/450568)
Temporarily rolled this back, but I'll commit it again on Thursday if someone else doesn't beat me to it.
In the meantime, if anyone wants to adjust the patch to fix the 'module:' key to be 'provider:' instead, go for it. :)
Comment #14
almaudoh commentedThis description is too specific for the Condition annotation. Something more like "The name of the provider of the condition."
Comment #15
tadityar commentedfixed the name of the key :)
Comment #17
tadityar commentedThat was pretty weird.. I'm sure that I only changed '- module:' to '- provider:' but it failed?
Trying once more.
Comment #18
tadityar commentedadded interdiff between #8 and #17
Comment #19
cs_shadow commentedRTBC as per #10.
Comment #20
eric_a commented#14 wasn't addressed. But more importantly: why did #4 introduce this Condition class at all in this filter plugin issue?
Comment #21
tadityar commented@Eric_A Ah yes.. Have just noticed #4 edited the wrong file, even the wrong module. Gonna change that, but now that we've figured it shouldn't be inside the Condition class I don't think #14 is necessary. Docs in the rest of the file is also specific (mentioning 'filter').
Comment #22
cilefen commentedNow that this is fixing the intended bug, I see no problems with it.
Comment #23
webchickAwesome, thanks for all the attention to detail here. :)
Committed and pushed to 8.0.x. Thanks!