Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 May 2012 at 15:52 UTC
Updated:
17 Apr 2013 at 04:25 UTC
This module is an integration with Formstack, an online web form builder. This module allows users to embed an online form into their drupal content (via a shortcode). This works the same way as our WordPress plugin: http://wordpress.org/extend/plugins/formstack/
http://drupal.org/sandbox/Formstack/1592982
git clone --recursive --branch 7.x-1.x Formstack@git.drupal.org:sandbox/Formstack/1592982.git formstack_online_forms
cd formstack_online_forms
For testing, feel free to use the following API key: 1A8B2E148AC3331314A5658EA2E97E2A
Comments
Comment #1
pgogy commentedHello,
Ventral (ventral.org) reports some coding standards issues - http://ventral.org/pareview/httpgitdrupalorgsandboxformstack1592982git
It looks a lot, but you just need to get used to them (I went through it all too :) ) - you can solve a lot of them with a find and replace call. Also keep using ventral when you update GIT and you'll get through them in no time.
Also It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Some other things :-
README.txt is missing, see the guidelines for in-project documentation.
Remove "version" from the info file, it will be added by drupal.org packaging automatically.
The "?>" PHP delimiter at the end of files is discouraged, see http://drupal.org/node/318#phptags
./formstack.module: all functions should be prefixed with your module/theme name to avoid name clashes. See http://drupal.org/node/318#naming
function my_module_node_post_render($sth) {looks like you left an example module in :)PHP Parse error: syntax error, unexpected '/', expecting T_FUNCTION in ./formstack.api.php on line 37
Errors parsing ./formstack.api.php
Hope this helps - just drupal standard stuff.
I think the parse error means it needs work? But will leave on needs review. I'd try and fix the parse error ASAP though so people can test it.
Hope this helps
Pat
Comment #2
patrickd commentedthese are enough major issues for changing needs work ;)
Comment #3
Formstack commentedComment #4
rrbambrey commentedHi there,
Automated review looks all clear now apart from the one message saying you are still working in the master branch. Have a look at Moving from a master to a major version branch - basically you'll need to do:
You'll then want to remove the code from the master and leave README.txt there telling anyone who checks the wrong branch out to move to one of the major revision branches.
A further look through the module has flagged up the following thoughts for me:
$node->body[$lang][0]['value']instead of
$node->body['und'][0]['value']Cheers!
Comment #5
rrbambrey commentedOops forgot to change status back
Comment #6
Formstack commentedAll issues should be resolved.
Comment #7
Formstack commentedIt's been 6 days. Is anybody going to look at this?
Comment #8
Formstack commentedCan this get assigned? We've been waiting for this review now for 8 days.
Comment #9
patrickd commentedSorry, but there are currently about 100 other applications, some of them already waiting for months without review and just a handful of active reviewers. The only way to speed up the process is by reviewing other applications.
Have a look at the review bonus program: https://drupal.org/node/1410826
Comment #10
gellweiler commentedIf you use the given git clone command on your project page, you still will get the master branch instead of the new branch. Have you changed the default branch from master to 7.x-1.x under edit/default-branch on your project page ?
Also the git command given in this issue summary will not work, because we can't authenticate as Formstack user, this one should work:
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/Formstack/1592982.git formstack_online_formsI noticed that you can't insert multiple Formstack forms into one node via the GUI. It will always replace the existing form ( you can insert multiple form tags manually if you know the corresponding id ). Also I think it would be nice, if your form tags would be more human readable and also include the form title along the id.
Maybe adding a help page for your module and writing a test file would be a good thing too.
Comment #11
rico.schaefer commentedAll issues explained in #4 seems to be resolved without the last one. Is it possible for you to use drupal_add_js()?
Everything else seems to be fine.
Comment #12
langworthy commentedRather than overriding
$node->bodyin_formstack_node_form_submitit would probably be better to attach a Formstack form to a field. I need this for a project. I'll update in the sandbox issue queue if I get anywhere.Comment #13
langworthy commentedAfter discussing the topic on IRC in #drupal-contribute, since this issue has not had any progress from the poster in over 6 months, I've gone ahead and created a Formstack project on drupal.org. http://drupal.org/project/formstack.
Comment #14
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #14.0
PA robot commentedgit clone branch changed from master to 7.x-1.x