I am using Drupal 6.15 and Support module 6.x-1.3 with several other modules.
When i am trying to add new support ticket there are no additional fields visible. Maybe i will use an example - it will be easier to explain.
I have two clients defined A and B. And 2 additional fields x and y. Field x is enabled for both A and B. Field y is enabled only for B.
When i try to add new support ticket without default client selected - after selecting A or B no fields are displayed (ajax is returning some code but there is no div "support-fields-ahah-wrapper" in page source so it cannot be placed there). Fields returned by ajax are correct to the settings described above - but there is no container where it could be displayed.
When i add to code client=A (so client A is selected as default) then field x is visible correctly. But after changing client there is no change. Ajax is returning always only the x field.
When i add to code client=B (so client B is selected as default) then fields x and y are visible - what is ok. But after changing client there is no change. Ajax is returning always both x and y field.
Maybe it is some confilct whith other installed modules ? How to trace it ?
Additionaly support field is not respecting Content Permissions module settings.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1031004-3.patch | 2.73 KB | span |
| #4 | 1031004-2.patch | 2.84 KB | span |
Comments
Comment #1
nasty commentedI have solved the problem. But i am not sure if it is ok. Please verify that.
I have replaced in function support_fields_form_alter() lines
with
Comment #2
span commentedHey!
Thanks for your report. I find it very strange that you encounter this bug as noone else have reported it.
I haven't had a chance to have a closer look at your fix nor the problem but I will have a look as soon as possible. At a first glance it looks fine.
Thanks alot.
Comment #3
span commentedFixed in RC1, thanks.
Comment #4
span commentedI'm reopening this as this change has caused some other problems it seems. I now have a clean install of everything where this is working with both groups and fields. Related issues are #1096502: Client selection for new tickets wont work in IE and #1077832: CCK groups not working properly.
Will this new patch work for you, it's toward the 6.x-2.1-RC1?
EDIT: NEW PATCH IN #5.
Comment #5
span commentedThis replaces #4 and has been tested in Firefox, Chrome and IE 8.
Comment #6
span commentedComment #7
span commentedShould be fixed in rc4.