Left over from an api change

Needs tests still... which I need to learn how to write.

Comments

alpritt’s picture

Status: Needs work » Needs review
StatusFileSize
new3.92 KB

Now with tests.

Status: Needs review » Needs work

The last submitted patch failed testing.

sirkitree’s picture

Status: Needs work » Needs review
StatusFileSize
new2.67 KB

try this one.

Status: Needs review » Needs work

The last submitted patch failed testing.

sirkitree’s picture

Hrm. not sure why this failed to apply. It's a cvs diff -up on HEAD... what am I doing wrong?

sirkitree’s picture

Status: Needs work » Needs review
StatusFileSize
new2.72 KB

ah, didn't diff from my drupal root.

cburschka’s picture

Status: Needs review » Needs work

Shouldn'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?

alpritt’s picture

Status: Needs work » Needs review

@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.

cburschka’s picture

Title: taxonomy filter broken on admin/content/node » Test for taxonomy filter on admin/content/node

In that case, the title should reflect this.

mikejoconnor’s picture

Status: Needs review » Needs work

On 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.

kirill.volkov’s picture

Status: Needs work » Needs review
StatusFileSize
new2.66 KB

Here is the patch from #6 fixed as suggested by #10.

kirill.volkov’s picture

Status: Needs review » Needs work
StatusFileSize
new2.66 KB

Some 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.

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.