Closed (fixed)
Project:
Advanced Poll
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2007 at 11:40 UTC
Updated:
6 Feb 2009 at 16:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
ChrisKennedy commentedIt sounds like the javascript from another module may be messing things up. Try disabling everything except Advpoll & Voting API and let us know if it does anything.
Comment #2
Crimson commentedHo ho ho. Good catch.
I can't disable my modules because it's a live site and that would kind of shut it down. But I opened up Firebug and I saw this error:
And here's my list of JS.
Comment #3
anders.fajerson commentedThe error doesn't tell that much, good old trial and error is the best approach. I highly recommend a developer setup, there are for example good documentation in the handbook about installing Drupal locally.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
dtabach commentedI have observed exactly the same issue.
Turned off all non-contrib modules (but Advanced Pool 5.x-1.0-beta6 and Voting API 5.x-1.6), enabled a core theme (Garland), but collapsible fieldsets are still not working in the Poll edit form, just like Crimson described.
Fieldsets only work for users with 'Administer Polls' permission.
Comment #6
Leeteq commentedSubscribing.
Comment #7
ChrisKennedy commentedPretty tough to debug this without a link or more information on the JavaScript errors, modules installed, relevant theme, etc.
Comment #8
ishiomin commentedI have observed exactly the same issue.
Fieldsets only work for users with 'Administer Polls' permission and 'Administer node' permission in exactly the same role . If they are in two differents roles (and the user has the two roles of course) fieldset don't work.
My configuration is with multiflex-3 theme and several third parts modules.
Comment #9
sanduhrsWay to reproduce:
System: Ubuntu 8.10 , PHP 5, MySQL 5, FF 3
It seems line 56 in advpoll-form.js produces the problem, in case $("input.settings-writeins") is not available in the DOM, as is when the user doesn't have administer polls permission.
Comment #10
ChrisKennedy commentedNow that is a helpful bug report :) Fixed it. http://drupal.org/cvs?commit=166591