Currently webform associate breaks webform itself. Should be fixable, probably somewhere in the big form alter stuff that's going on. Just needs to check if we're currently on a webform node and if that webform node doesn't have an associated node, then node do the form alter work.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | webform_associate.module.txt | 9.94 KB | ldweeks |
| #7 | webform_associate.module.patch | 638 bytes | shaisachs |
Comments
Comment #1
daniorama commentedI'm using the last version of webform and webform_associate and I'm not experiencing any problem at all...
Comment #2
eclipsegc commentedMight be some of the new code I WAS running. My next patch will fix this again.
Comment #3
eclipsegc commentedNewest code SHOULD fix this.
It needs testing w/ and w/o the uc_webform_productize module installed, however I believe it continues to work both ways. Checkout from CVS if you can't wait till the next dev tar gets produced. 4hrs still new tar is created.
Comment #4
no_idea_yet commentedStill breaks Webform by the looks of it.
Running Drupal 6.6, just installed Webform 6.x-2.3 and Webform Associate 6.x-1.x-dev.
Spent the past 4 hours trying to figure out how to create a webform as it kept coming up with "You are not authorized to access this page.", wasn't until I disabled Webform Associate that I could get Webform to work.
Sorry, still a newbie so not much else I can tell you.
Comment #5
allanx commentedI get the same message: "You are not authorized to access this page"
Any hints as to fix? Is there a permission or role to add somewhere?
cheers,
allanx
Comment #6
easp commentedI found that as soon as you choose a content type for webform associate it fixes the webform.
It looks like the "webform_associate_nodes" variable needs to be created.
The problem appears to be in the function:
If there is not any webform_associate_nodes then the function returns false and does not give access.
Comment #7
shaisachs commentedNice sleuthing in 6. I think this patch ought to clean that up,
Comment #8
ldweeks commentedThanks, shaisachs, for your work. Unfortunately, I can't seem to get it working. I applied both patches that you have submitted (this one and the one over here), but I'm still getting an "access denied, You are not authorized to access this page." error.
Any help would be much appreciated. Just in case I did do something dumb, I'm attaching the .module file for you to look at, if you are so inclined ;-).
Thanks again.
Comment #9
shaisachs commentedWhen are you seeing that error? Have you checked to make sure that permissions are assigned correctly for webform?
Comment #10
ldweeks commentedI see the error any time I try to access a webform. I'm still able to associate a webform with a node, but I cannot see the webform information, or any webfom-related tabs, when I view the node. If I try to actually look at the webform, though, I do get that error.
I working on this module on a local instance using the acquia stack installer, and I only have the two default roles: anonymous and authenticated. I have given full privileges to the authenticated user.
Comment #11
eclipsegc commentedThe features of this module are now included IN webform 3.x. This module is now obsolete.
Comment #12
eclipsegc commented