Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2010 at 00:23 UTC
Updated:
5 Aug 2013 at 23:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
elvis2 commentedI changed the version to d7.x since the bug is there too.
Comment #2
elvis2 commentedNow with patch...
Comment #4
swentel commentedPatch should be taken from drupal root and against HEAD. Code is very different with that of D6. New patch.
Comment #6
elvis2 commentedOk, new patch, from d7 head.
Comment #8
elvis2 commentedI first line in previous patch was failing simpletest. Let's try again.
Comment #9
catchtaxonomy_term_path() doesn't exist in D7, you can use entity_uri() though.
Comment #10
elvis2 commentedThanks catch, I will look into it.
Comment #12
marvin_b8 commentedPatch with entity_uri() but looks like a hack
Comment #14
marvin_b8 commentedComment #15
elvis2 commented@marvin_B8, thanks for working on this.
Comment #16
David_Rothstein commentedtaxonomy_term_uri() hardcodes the path also, so this patch doesn't fix the issue. It would indeed need to use entity_uri().
That approach sounds correct to me, but someone should probably check this with the Forum module to see if it actually makes sense. (Since Forum is an example of a module that actually does alter the term path for terms that represent forums, but it may not always make sense to redirect to the actual forum page from all admin pages; maybe this one is sensible though.)