Postponed (maintainer needs more info)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code - Content Taxonomy
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2012 at 08:24 UTC
Updated:
11 Feb 2019 at 20:18 UTC
Jump to comment: Most recent
Comments
Comment #1
goldTidying up the issue queue. The 6.x version is no longer supported. Only reopen this if it also applies to the 7.x.
Comment #2
dqdBug is reproducable in 7.x like described in the OT. Disabling panels for this edit view brings back hierarchical select functionality.
2 possible ways to discuss before writing patches:
Comment #3
stefan.r commentedI would rather see the underlying issue fixed than add a checkbox
Comment #4
dqdThanks for your fast reply, @stefan.r
Agreed. Just wanted to make sure, that no time is wasted in walking down dead roads.
Comment #5
dqdWell, it seems, there will be no guidance in this issue from any panels involded folks anytime soon yet. Tackling it down allone as somebody not involved in panels code much, would take much time and would be very inefficient while there are some who may know where to start. FIrst I would like to see more people chimging in being interested in a fix and some hints where to look at before I would start to get my fingers dirty on it.
To reproduce this issue:
One of the very first things to make clear first would be the question if this is rather a HS or a Panels issue from the bottom.
Interesting is the fact that it does not work in node edit panel pages but it does in node view panels pages with editable fields and hierachical select :-P
Comment #6
dqdComment #7
dqdComment #8
goldThanks for the detailed instructions diqidoq. They were sufficient to replicate the issue.
Discovery: I set the variant up so that it only triggered on Articles. I also added the HS widget to the Basic Page so I could test with and without panels in the same instance.
Initial discovery is that form_id is not being sent in the POST from the form on the panels based form. This prevents ajax_get_form() from finding the form at all and it bails early with a drupal_exit() that returns a zero length 200 OK response. The zero length is what HS reacts to in this case.
I will continue to dig into this and see if I can work out why the form_id isn't part of the form POST.
Comment #9
goldHmm... This isn't an issue with HS. It is just floated to the surface due to it.
All of the standard hidden form fields are absent in the form in a panel variant. The
changed,form_build_id,form_tokenandform_idare all absent regardless of the use of the HS form widget.I'm seeing 2 ways around this.
Thoughts?
Comment #10
shaneonabike commentedFor what it's worth this is also an issue with Views Megarows when you are editing a node. It returns back the same error message and I would imagine that it is associated to the lack of id not being sent.