Applying for the opt-in to security coverage permission.
Module description
This module will let you populate a webform select component with data from a view. To use this module:
- Create a new view (or edit an existing view).
- Create a "Webform Options" display.
- Add the fields you want to use as key and value for the select list as you please.
- Modify the format options to choose the fields to use as key and value.
- Add the select component to your webform and pick your view under "Load a Pre-Built Option List".
Please keep in mind that the list will be included from the view and is not a hard coded list. When the webform is viewed, the component will get its data directly from the view. When viewing the results, only the 'key' may be available when the item is no longer in the view results.
Project information
Project page: https://www.drupal.org/project/webform_views_select
Git clone: git clone --branch 7.x-1.x https://git.drupal.org/project/webform_views_select.git
PAReview: https://pareview.sh/pareview/https-git.drupal.org-project-webform_views_...
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgprojectwebform_views_selectgit
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
Stevel CreditAttribution: Stevel commentedThanks PA Robot, I was expecting you!
However, the PAReview errors are related to function names inherited from Views, which I can't rename.
Comment #4
Stevel CreditAttribution: Stevel commentedBack to Needs Review
Comment #5
Stevel CreditAttribution: Stevel commentedComment #6
alex dyakonov CreditAttribution: alex dyakonov as a volunteer commentedHi @Stevel.
I checked your code with code sniffer and got only few notice.
In the .info files, you have a duplicate key "core".
In the WebformViewsSelectHandler.inc in the 67 row I got a notice:
"As of PHP 5.4 string offsets have to either be integers or integer-like strings. Inspection is extended to all strings since it's a bad practice to use strings as an index of string. http://www.php.net/manual/en/language.types.string.php" - about $rows[''].
Also, you use an array() syntax, but according to Drupal coding standards, you should use a short syntax. (https://www.drupal.org/docs/develop/standards/coding-standards#array).
Comment #7
Stevel CreditAttribution: Stevel commentedHi Alex,
- The duplicate core key is added by the Drupal.org packaging script and is not present in the git respository
- I added a patch for the notice in #2921207: Notice in WebformViewsSelectHandler line 67. Could you test if that resolves the notice?
- The array() syntax is still required for D7 projects that support PHP 5.2+:
Comment #8
Stevel CreditAttribution: Stevel commentedThe patch for the notice has been committed to the git repository. The other remarks are addressed (or so I believe) by my comments above.
Comment #9
Nandu.Kumar CreditAttribution: Nandu.Kumar commentedHi,
kindly see the PAReview automated review of your project
https://pareview.sh/node/2664
Comment #10
Stevel CreditAttribution: Stevel commentedHi @Nandu123,
The remarks given there are methods overridden from Views classes, so I can't choose their names.
Comment #11
Stevel CreditAttribution: Stevel commentedIs there anything else I can do to help in the review of this project?
Comment #12
Stevel CreditAttribution: Stevel commentedUpdated the PAReview link in the description above, since the old one was no longer working (404 not found).
Comment #13
Nandu.Kumar CreditAttribution: Nandu.Kumar commentedHey @Stevel,
i am able to see some error in Pareview of your project.
Pareview reports some new warnings:
The headings in the README.txt file should be uppercase.
The module does not implement hook_help().
Coder Sniffer has found some issues with your code (please check the Drupal coding standards).
https://pareview.sh/pareview/https-git.drupal.org-project-webform_views_...
Comment #14
Stevel CreditAttribution: Stevel commented@Nandu123 Thanks for taking the time to review this module.
I fixed the README.txt file to match the standards and implemented a basic hook_help().
The coder sniffer issues are related to Views methods that are overridden, so I can't change these method names.
Are there any other issues that I should look into?
Comment #15
sleitner CreditAttribution: sleitner commentedAutomated Review
Review of the 7.x-1.x branch (commit c13dfb6):
This automated report was generated with PAReview.sh, your friendly project application review script.
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #16
apadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.
Comment #17
apaderno