Needs review
Project:
Webform Submissions ACL
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2010 at 21:01 UTC
Updated:
7 Sep 2011 at 19:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
bradfuller commentedSchema reported this:
webform_submissions_acl
o primary key: missing in database
So, this may be a clue. Here's the schema from the .install:
/**
* Implementation of hook_schema().
*
* Create the table for webform_submissions_acl entries.
*/
function webform_submissions_acl_schema() {
$schema['webform_submissions_acl'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0
),
'uid' => array(selec
'type' => 'int',
'not null' => TRUE,
'default' => 0
),
),
'primary key' => array(),
'indexes' => array(
'uid' => array('nid'),
'uid' => array('uid')
),
);
return $schema;
}
Comment #2
quicksketchMost likely this module is not compatible with Webform 3.x yet.
Comment #3
Hitmrrr commentedwhen module will compatible with Webform 3.x?
Comment #4
pbosmans commentedsubscribing
Comment #5
Hitmrrr commentedsubscribing
Comment #6
Hitmrrr commentedWhen this module will compatible with Webform 3.x?
Comment #7
daengo commentedDitto. Is there a quick fix patch?
Comment #8
pvasener commentedHere is a patch to make the tab show up in the new 'Webform' tab for webform 3.x
Comment #9
matt bApplied the patch. Can add a user via the Results Access tab. The user can review the Submissions summary table, but when clicking on 'View' gets an Access Denied message.
Comment #10
matt bApplied to dev version of this module and now it works fine. Good work - thanks! Reviewed and tested by me.
Comment #11
monotaga commentedThis patch also works for me in webform 3.x. Any chance we can get this patch applied to dev?
Comment #12
amysiano4x3 commentedPatch (on dev) worked for me as well in webform 3.x. Menu shows, though delete user was not "working.webform_submissions_acl.pages.inc" needs path updated as well. Not sure how to officially create a patch but here is what I updated.
foreach ($users as $user) {
- $rows[] = array(l($user->name, 'user/'. $user->uid), l(t('Delete'), 'node/'. $node->nid .'/edit/acl/delete/'. $user->uid));
+ $rows[] = array(l($user->name, 'user/'. $user->uid), l(t('Delete'), 'node/'. $node->nid .'/edit/webform/delete/'. $user->uid));
}
Comment #13
monotaga commentedI've made a patch incorporating aksiano's issue above in #12.
Comment #14
investigacoes commentedapplied the patch:
Results Access appeared, but links to blank page: node/xx/webform/acl
what's wrong?
Comment #15
monotaga commentedinvestigacoes, are you using PHP 5.3? It might be issues with the references. I'm running into the same issue on my end. I'm removing the "&" from the values passed in functions to see if that fixes it. I'll upload a patch if I'm able to get it.
Comment #16
investigacoes commentedHey monotaga,
Yes I'm using 5.3.2
Now I got an error:
warning: Parameter 1 to webform_submissions_acl_page() expected to be a reference, value given in /includes/menu.inc on line 349.I read something about other module messing up with the values, but I have no idea how to fix this.
Comment #17
monotaga commentedinvestigacoes, in short, you just need to remove the the "&" from the values passed in functions.
Comment #18
imclean commentedSame as #13 but with the reference removed form webform_submissions_acl_page(). This works for me but I needed to clear the cache a couple of times. I'm not sure why the other callbacks aren't generating errors.
Comment #19
Zilvador commentedI am also very interested in seeing this bug being fixed as soon as possible.