Posted by bkessels@www.me... on May 7, 2003 at 7:43am
Jump to:
| Project: | Drupal core |
| Version: | x.y.z |
| Component: | taxonomy.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
The Taxonomy module has a problem in the admin. It shows no formfields when you want to add a term.
In addition the menu has some problems. I assume those problems are actually the same problem. It has to do with a 'wrong' arg($no) call. Where $no might be wrong.
Comments
#1
I can't reproduce this problem. Mind to be a bit more precise? What URL is in your browser's address bar when looking at the /empty/ page and how did you get there, what webserver are you using, and last but not least, what do you mean with "some problems"?
#2
more precise:
Firstly i am running apache. no clean urls. But thats not where the prbloem lies. I'm sure about that.
I made a clean build from the last CVS (06/05/03). (okay, clean builds from cvs is not very smart: but i thought it might be a good idea tocheck how stable it currently is)
When looking at: http://www.mediarevolution.org/?q=admin/taxonomy the menu in admin shows an empty entry. This is a link. This is the html:
<li class="collapsed"><a href="<a class="TPurn" href="http://www.mediarevolution.org/?q=admin/taxonomy/add">http://www.mediarevolution.org/?q=admin/taxonomy/add</a>"></a></li>http://www.mediarevolution.org/?q=admin/taxonomy/add
shows an empty page: there is now an menu entry with the text "create new vocabulary" this link _does_ provide a page with the requested form.
when, on ?q=admin/taxonomy klicking an "add term" link, another empty page shows up. Regardes what "add term" is used.
I therefore conclude that there is some wrong arg(XX) called. I tried to debug, for hours, but did not find the problem, and gave up: this is a problem that should be solved by the taxonomy.module master.
In addition I like to add, that a second clean build (+/- two weeks old) has _exactly_ the same problem.
#3
I was the one who patched up the arg() calls to make them work properly with the new admin menu/cleanURL patches. It's working fine on both my test and production boxes, which are both running current CVS.
Note that admin/taxonomy/add won't do anything useful.
You need to go to admin/taxonomy/add/term/[vid] or admin/taxonomy/add/vocabulary
The behaviour you mentioned with an empty menu entry...
...is very odd. I don't really see how that can possibly be happening given the code.
The only lines of code that do a menu() in taxonomy.module are:
So it's impossible that taxonomy.module is adding an entry admin/taxonomy/add with an empty caption. I don't know what your problem is, but it's very very strange. I'm tempted to say that you've done something odd, but that you can't remember what. Are you sure you haven't hacked about with taxonomy.module? I hasten to add that this works fine for everyone else...
#4
It ssems to work for everybody, so it is most probably not a bug.
Won't fix.