It appears there is a JavaScript conflict between WYSIWYG editors (used via the wysiwyg module) and Closed Question's nifty graphical XML editor interface.
Current best work-around:
Click the "Disable rich text" links to turn off WYSIWYG editors on your ClosedQuestion node edit form before using the question editor.
--------------------------------------------------------------------------------------
Hi,
I just upgraded my drupal core to 7.9 and I cannot use closed questions anymore.
Pls see the video and see if you can duplicate this.
http://youtu.be/RT6TZnm0G70
cheers,
Vishal
Comments
Comment #1
vishalkhialani commentedI was able to replicate this problem on a new dev site .
Hope some one can fix this.
Comment #2
vishalkhialani commentedanyone ?
Comment #3
adamdicarlo commentedI can confirm this bug. I've seen it in a Checklist question. Marking critical as it makes normal use of the module pretty much impossible.
When clicking the Save button on an Option, Chrome's dev console gives me this:
Comment #4
adamdicarlo commentedRe-titling.
Comment #5
azam12345 commentedI have same problem.
Comment #6
vishalkhialani commentedHere are two alternatives:
1) There is another module called webform which does someting similar http://drupal.org/project/webform
2) I have made a module for my needs it has no menu and just works as per wht I want. I can give it to you till they fix this module.
Cheers,
Vishal
Comment #7
adamdicarlo commentedI'm working on this bug today and hopefully getting it fixed sometime this week.
I'm hoping @HylkeVDS will allow me to become co-maintainer of this project so I can help with committing patches.
Comment #8
adamdicarlo commentedSeems that the CKEditor and/or WYSIWYG module are what's causing the problem on my site. If I disable WYSIWYG, the closedquestion tree editor JS works fine again.
I'm not sure how to fix it yet, though, beyond turning off the WYSIWYG module or doing some complicated form_alter() / css_alter() / js_alter() in order to rip out the WYSIWYG from closedquestion node editing pages (though there might be some easier way to exclude the WYSIWYG?)
Comment #9
adamdicarlo commentedRetitling.
Comment #10
adamdicarlo commentedWork-around: http://drupal.org/node/285200#comment-5336646. Note that *any* WYSIWYG being active on the node form causes this problem, not just if a wysiwyg is active on the body field.
I will also roll a patch soon for Closed Question that turns off WYSIWYG on the body field (which is where the XML is stored), for completeness/defensiveness. (It's a one-liner.)
Comment #11
adamdicarlo commentedI've committed a patch here that turns off the WYSIWYG for the body (XML) field.
Unfortunately, there could be other text area fields on the content type that cause a WYSIWYG to be running. It doesn't seem quite right to muck around with the settings for these other fields.
The real solution is to figure out what about the WYSIWYG is causing this problem and somehow fix it (either in the wysiwyg module or this module). But I haven't been able to find the conflict so far.
So for now: Click the "Disable rich text" links to turn off WYSIWYG editors on your ClosedQuestion node edit form before using the question editor.
Comment #11.0
adamdicarlo commentedUpdated issue summary.
Comment #13
jvdkolk commented@adamdicarlo: Is this still an issue?
Comment #14
jvdkolk commentedPlease reopen if the error is still there