Left over from an api change
Needs tests still... which I need to learn how to write.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | taxonomy_filter_test.324432_2.patch | 2.66 KB | kirill.volkov |
| #11 | taxonomy_filter_test.324432_1.patch | 2.66 KB | kirill.volkov |
| #6 | taxonomy_filter_test.324432.patch | 2.72 KB | sirkitree |
| #3 | taxonomy_filter_test.324432.patch | 2.67 KB | sirkitree |
| #1 | term_load_2.patch | 3.92 KB | alpritt |
Comments
Comment #1
alpritt commentedNow with tests.
Comment #3
sirkitree commentedtry this one.
Comment #5
sirkitree commentedHrm. not sure why this failed to apply. It's a cvs diff -up on HEAD... what am I doing wrong?
Comment #6
sirkitree commentedah, didn't diff from my drupal root.
Comment #7
cburschkaShouldn't you still be diffing node.admin.inc? As it is, you're adding a test, but not the fix it tests for.
And if testbot passes this patch without that fix, does that imply that the test doesn't do the job, or does testbot just not run tests newly added by the patch?
Comment #8
alpritt commented@7: CVS tells me it has been fixed elsewhere (#355787: Notice at admin/content/node when using a taxonomy filter), so we only need the tests. I've not reviewed beyond that.
Comment #9
cburschkaIn that case, the title should reflect this.
Comment #10
mikejoconnor commentedOn line 35 you are logging in as $this->admin_user, however the setup function logs you in as the same user. I think you can remove $this->drupalLogin($this->admin_user) on line 36 of the patch.
Comment #11
kirill.volkov commentedHere is the patch from #6 fixed as suggested by #10.
Comment #12
kirill.volkov commentedSome internals have changed since that previous patch was written.
Here's a version which is close to working, but the vocabulary now needs to be attached to the content type by way of the field API.
The code in profiles/standard/standard.install does something very similar, so that could be appropriated to finish this up.