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
When searching the polls on /admin/content/poll and applying the status to inactive, it still shows the active polls.
Proposed resolution
Filter out the active polls when searching for inactive polls, the bug should be fixed in the view data.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#36 | poll-active_condition_not_working-2774641-36.patch | 1.54 KB | mqanneh |
#17 | active_condition-2774641-17-test_only.patch | 928 bytes | ModernMantra |
#17 | active_condition-2774641-17.patch | 3.1 KB | ModernMantra |
| |||
#17 | interdiff-14-17.txt | 781 bytes | ModernMantra |
active-bug.png | 12.5 KB | Ginovski |
Comments
Comment #2
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH commentedPossible fix for an issue
Comment #4
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedNew patch that fixes the issue
Comment #5
johnchqueLooks nice, can we get some test coverage? Should just need to extend an existing one.
Comment #6
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedAdded test support for bug fix
Comment #7
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedForgot to change status to needs review
Comment #9
Bambell CreditAttribution: Bambell at MD Systems GmbH commentedHo, we need a combined patch (fix and test).
Comment #10
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedAdding test only patch and combined one
Comment #12
tduong CreditAttribution: tduong at MD Systems GmbH commentedYep, now it is correct, only remember to switch the uploading patch order next time :)
Comment #13
johnchqueWe shouldn't need both, can you try just using the first one?
We need to separate this block of code with a white line. Can you also add a comment about what we are testing here?
Comment #14
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedFix of small errors stated in comment #13
Comment #16
johnchqueThis one should say: 'Poll does not appear in poll list.'
Then this one should remain as 'Poll appears in poll list.'
Comment #17
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedFixed issues from previous comment
Comment #19
johnchqueThis is an unrelated change. Just keep the text.
Comment #20
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedNew fix that corrects issue in comment #19
Comment #22
tduong CreditAttribution: tduong at MD Systems GmbH commentedPlease, remember to upload first the test_only patch and then the combined patch so testbot runs first the first patch and after the second one that should pass, the issue status is set as "Needs review" and you don't have to care about the status anymore ;)
Comment #23
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedI was really looking for order i put my files, however it have flipped them. Sorry for making issue again.
Comment #24
tduong CreditAttribution: tduong at MD Systems GmbH commentedIt looks like your interdiff is not referring to your current patch ?
Comment #25
tduong CreditAttribution: tduong at MD Systems GmbH commentedSorry, misunderstood, my bad ^^'
Then I think it's alright :P
Comment #26
johnchqueLooks good! I would say that this is ready.
Comment #27
Berdirthis should not be removed, it will change, that is ok.
If it didn't generate that, then that is because you were on an old core version.
Comment #28
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedFixed issue that 'core element' was removed due to old core version.
Comment #30
tduong CreditAttribution: tduong at MD Systems GmbH commentedNice, now it looks alright! :)
Comment #31
BerdirAgreed.
Comment #34
mqannehStill not working even after updating the module to the latest dev version.
Comment #35
mqannehThe applied patch fixed one part of the issue but not the second part. when you filter for "Active: No" the non active polls won't appear in the results and you will get empty view instead.
I removed the unused group, and assigned the active options "Yes and No" to have associated boolean values.
Comment #36
mqanneh