Closed (won't fix)
Project:
Web Links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2009 at 17:56 UTC
Updated:
7 Aug 2009 at 15:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
nancydruThat's one module I don't use. I guess I'll have to download it and try to learn it.
Comment #2
nancydruI downloaded the most current HS and used it out of the box with no trouble. However, considering that no one else has reported any kind of problem with WL in this area, I would have to think it is a HS problem. Taxonomy_form_term is a core function that we have been using for some time.
Moving to HS. Please check the version to make sure the issue is for the correct one.
Comment #3
wim leersWhen just using HS, the taxonomy term form works just fine, including adding parents through HS. So it's unlikely HS is at fault.
It's probably due to the fact that I'm probably the only module using a severely under-documented Drupal 6 core feature: I set the
taxonomy_override_selectorvariable.NancyDru: try enabling the Hierarchical Select Taxonomy module. Without that module, it's impossible to reproduce this problem I think. Back to you :)
Comment #4
nancydruI did enable it. It was fairly obvious that I would need it. I have no idea what that variable does, However, I was unable to reproduce this problem.
Comment #5
gumdrop commentedCould this be a Ctools thing? I did have to apply 368471-53.patch to HS to get things working elsewhere. I don't have a problem adding to terms via Taxonomy (as a work around) but indeed the problem shows thru Weblinks ---> Add a Group.
I do see the parent term and when trying to add the new term after the parent in Advanced Options that's when issue arises.
Comment #6
wim leersNancyDru: How do you use the taxonomy_form_term form? Do you call it to a new menu callback? Are you including the file in which it exists from within the form definition function?
Comment #7
nancydruCalls...
and
Comment #8
wim leersHierarchical Select detects which file belongs to the currently active menu item. It assumes the form definition function lives in there. This is a file of the Web Links module.
HS loads this file during AHAH callbacks and then calls the form definition function — because it assumes this function is part of the file it just loaded.
In this case, that's no longer true, because you are rerouting users to a different form. Easy enough to work around since recently though. merlinofchaos caused similar problems with his CTools Delegator module. So he added a new $form_state key:
$form_state['form_load_files']. This is obviously supposed to be an array. So check if it is set, if it is, append to it, otherwise, create it.Do that, and all will be good :)
Comment #9
nancydruAppend what to it? I don't use Ctools, so it will not be set. Everything works fine for me now.
Comment #10
wim leersAppend
drupal_get_path('module', 'taxonomy') .'/taxonomy.admin.inc'to it, like this:Comment #11
nancydruDoes this go in the original form call or in the form_alter?
Comment #12
wim leersform_alter() I suppose, because you can only access $form_state from there …
Comment #13
nancydruOkay, that's kind of what I thought.
@gumdrop: Since I cannot reproduce this, please try the attached patch.
Comment #14
nancydruComment #15
gumdrop commentedRan that patch on the latest dev and still no luck and same error/warning.
Comment #16
nancydruIf I could reproduce this error it would help a lot.
Comment #17
gumdrop commentedMaybe unless you have Ctools and Panels installed I guess you couldn't reproduce it....but I understand from #9 you don't use Ctools.
Comment #18
nancydruNo, and don't use Panels either - and I'm seeing all kinds of problems when using it, so I am unlikely to use it on my personal sites. But that statement also makes it sound like this is either a Panels or Ctools problem, doesn't it?
Comment #19
gumdrop commentedI believe so. More over a Ctools one.
Comment #20
nancydruMoving to cTools.
Comment #21
merlinofchaos commentedI'd appreciate it if you didn't move stuff to my queue on a wild ass guess. There's not a single shred of evidence from anything in here that ctools is even involved. NOthing in the error suggests ctools and it's not even in a place ctools does anything. The only reason it's even brought up is due to a totally different patch that gets CTools and HS working together.
Please show some evidence or actual logical reasoning rather than just shoving this stuff off on me.
Comment #22
nancydruAnd that kind of response is why I want nothing to do with Ctools (or even Views) if I can help it.
Comment #23
merlinofchaos commentedOh you're right.
It should be happy that you sent an issue over to me with no evidence. Of course it's my fault. Not that the error message suggests CTools is involved, nor the path, but of course, it must be CTools' fault. After all, it's installed on the site.
And with this sound deductive reasoning in place, I am now obligated to go fix it. That and the 25,324 other random issues that MUST also be CTools' fault.
Comment #24
merlinofchaos commentedWhat the heck do you have against me, anyway? The only thing I know about you (I went and looked for your name in the queues just to check) is that I asked you why realname does something and you answered with a bunch of code that didn't tell me anything about why, and then disappeared when I asked for clarification. So I was never able to provide you anything, even though I tried to. Yet somehow you seem to be bitter at me.
I assume RealName module will continue to not work with Page Manager, so I will put a note in my known issues that it will never happen, and to advise picking one or the other.
And since you want nothing to do with Views, please, please please,
1) uninstall it,
2) get rid of any modules you have with Views support.
I certainly don't want you to have to be further burdened by my work.
Comment #25
nancydruIt's not your work, it's the way you have treated me since the first issue I ever filed with you. You have belittled me time and time again, including calling me stupid (literally) in public forums. I transferred this issue over because the OP suggested it was with your module. No one else has seen this problem with this module and even with HS installed (which I only did to try to reproduce this problem) I could not get it to happen. The only other modules involved were Panels and Ctools, neither of which I have; therefore I had to agree with the OP.
As for the RealName issue, I never saw an answer that made any sense to me. I will go back and see if I can find the answer you refer to and see if it is written for such a stupid person as me to understand. I continually find, as do many others who have confided in me, that your documentation seems to be written for someone who already knows what they are doing rather than someone approaching your modules for the first time. And then when we ask questions we get treated like insignificant dunces.
Neither of us has to like everyone in the Drupal community, but we should all be treating each other with a basic respect. I greatly respect your work and your knowledge, but you have treated me with contempt on nearly every occasion for two years now.
Comment #26
gumdrop commented@ merlinofchaos re #21 "CTools and HS working together."
I guess we should all try to do that. And as Nancy pointed out "basic respect" is part of that. Really.
Comment #27
gumdrop commentedBTW, Nancy thank-you for your time and effort for trying to help with this issue. I appreciate it.
Comment #28
nancydruYou're welcome.