Closed (fixed)
Project:
Hierarchical Select
Version:
5.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jun 2008 at 13:10 UTC
Updated:
23 Jul 2008 at 10:56 UTC
When HS is enabled on a vocabulary, and a content type uses that vocab to select the nodes taxonomy, the preview does not show when creating a node of that content type.
For example:
the vocab 'vehicles' is enables for a story. When I go to create a story (i do not select a category), I fill out title and body, and click preview. It reloads as though it is going to show a preview, but does not.
Comments
Comment #1
wim leersThat's a very interesting bug. I know where I'll have to look I think.
Good catch, thanks!
Comment #2
wim leersIt seems the problem is the
#after_buildcallback. This'll be very tricky to solve :(Comment #3
wim leersComment #4
wim leersOk, it *was* a very small mistake after all! Phew :)
Fixed!
Comment #5
that0n3guy commentedIt is still not working for me but maybe I'm updating wrong.
Here is what I did.
I removed the hs select directory from my modules directory.
I'm using drush with only "drush Package Manager CVS Support" enabled. I didn't enable wget because I didnt know if it would pull from the beta. I did /drush.php pm -v install hierarchical_select-5.x-3.x-dev.
It installed just fine. I did not disable HS in admin/build/modules. Do I need to?
Thanks
Comment #6
wim leersNot correct. That's the dev tarball (which only gets updated every X hours, so it doesn't have the latest commits). You need CVS HEAD.
But just wait a couple more hours or wait for tomorrow: I'll release beta 2 later today.
Comment #7
that0n3guy commentedDo you know if drush can pull from cvs head then? ( dont need the HS update right now, I just wanted to know )
Also, below is the output from my drush install.. it has HEAD written as the option (2nd line down). I assumed it was head because of that.
Comment #8
wim leersThat *is* CVS HEAD indeed. It was this line that made me think it was the tarball:
Project hierarchical_select successfully installed (version 5.x-3.x-dev).So that's just bad behaviour of Drush.
Could you please go into the hierarchical_select.module file and copy/paste the hierarchical_select_form_alter() function? That's the only function that had to be changed to fix this.
Comment #9
that0n3guy commentedI figured out my problem... I did something I didn't think about being bad.
I had made a backup of my HS directory (just in case something went bad) but had it in the modules folder. Drupal was looking at it for some reason rather than the real HS folder.
It works now that I moved the backup folder away from the 'modules' directory.
Stupid mistake, sorry I wasted your time.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.