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.
Due to multiple changes the groupwise max relationship doesn't work anymore.
Let's fix this in that issue and write a test for that.
Comment | File | Size | Author |
---|---|---|---|
#14 | interdiff.txt | 4.49 KB | dawehner |
#13 | views-1799040-13.patch | 20.36 KB | dawehner |
#8 | vdc-1799040-8.patch | 20.76 KB | dawehner |
#7 | views-1799040-7.patch | 20.28 KB | dawehner |
#5 | views-1799040-5.patch | 20.3 KB | dawehner |
Comments
Comment #1
dawehnerHere is a test + the actual fix for the code.
Comment #3
dawehnerCleaned up stuff and fixed the remaining issue.
Comment #4
dawehnerSadly the patch does not apply anymore.
Comment #5
dawehnerRerolled, the tests are still running fine.
Comment #6
aspilicious CreditAttribution: aspilicious commentedNo clue what this feature does, so I can't rly review so I just scrolled through it...
Didn't knew you had to save stuff after using entity_create, interesting...
Reading the entity_create docs I don't think we have to save it again.
And if we save it we should do $term->save()
Hmm I think it's better to change this to 8.0 or whatevar we are using elsewhere
Comment #7
dawehnercurrently views uses the core version constant, so all of the views currently have this value...
Fixed your other part.
Comment #8
dawehnerRerolled against all the moving.
Comment #9
dawehner#7 is still working against 8.x-3.x
Comment #11
dawehner#7: views-1799040-7.patch queued for re-testing.
Comment #12
tim.plunkettI would do
Extra line
This looks wrong
These should agree
Node is in the testing profile
Comment #13
dawehnerNot sure how this happened, probably i got confused by some renaming.
I like that!
Fixed the other parts and added some additional documentation.
Comment #14
dawehnerForgot the interdiff.txt
Comment #15
tim.plunkett#13: views-1799040-13.patch queued for re-testing.
Comment #16
damiankloip CreditAttribution: damiankloip commentedNitpick: Why no underscores now?
I also added a createTerm method in Drupal\views\Tests\DefaultViewsTest. Should we consider moving this to one of the base classes?
Otherwise, this looks good!
Comment #17
dawehnerLet's create a follow-up and create a proper test for the taxonomy view, similar to the comment test,
so we can that we exactly get the data out as we expected.
Regarding the underscore: we change things there anyway so i corrected it, so would you suggest to revert this change?
Comment #18
damiankloip CreditAttribution: damiankloip commentedI'm happy with a follow up for that.
I'm not sure about the underscores. I would always use them and thought we were in general using underscores but I could totally be wrong on that :)
Comment #19
damiankloip CreditAttribution: damiankloip commentedClass properties = no underscores :)
Comment #20
dawehnerNice! Needs to be ported to the VDC sandbox
Comment #21
xjmLooks like this is already fixed.