I don't know why, but aren't the basic poll settings like "Maximum choices," "Close poll," "Starting date," and "Closing date" available to users with the the "create polls" permission? It's so weird that I have to activate "administer polls" for poll settings to work. And it's so odd too. Without the administer polls permission, the "Poll settings" fieldset shows up, but there's no link to expand it (like it's disabled). And what's even weirder are that the fieldsets after "Poll settings" are disabled too.
The only access modules I have are OG User Roles and OG Content Type Admin. And I don't think they would affect this.
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