Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2014 at 05:40 UTC
Updated:
19 Feb 2015 at 05:34 UTC
Jump to comment: Most recent

Comments
Comment #1
petu commentedFixed all the issues generated by http://pareview.sh/pareview/httpgitdrupalorgsandboxpetu2301343git
Comment #2
PA robot commentedWe 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
howto commentedYou should change your git clone command because it's a personal git clone command.
Comment #4
petu commentedComment #5
petu commentedThank you, howto!
Fixed.
Comment #6
howto commentedManually review
Line 9, file file commerce_options_as_images.module, function commerce_options_as_images_form_alter(&$form, &$form_state, $form_id)
You should use hook_form_commerce_cart_add_to_cart_form_alter() to alter form add to cart
https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_form_FORM_ID_alter/7
Line 16, file commerce_options_as_images.module, function commerce_options_as_images_form_alter()
This will overwrite all css attached to form, this will be better:
Line 42, file commerce_options_as_images.moodule, function commerce_options_as_images_product_image_id_options().
drupal_set_message(t('Visit settings page before to set settings.'), 'error');
You should use function l() to render a link.
This link should be a placeholder in function t().
Line 25, file commerce_options_as_images_ui.admin, function commerce_options_as_images_settings_form().
Missing argument in this function. It should be:
Comment #7
howto commentedChange issue status.
Comment #8
petu commentedhowto,
thanks a lot for reasonable comments!!
I've fixed all the notices you commented.
All the changes were committed to git.
Comment #9
gwprod commentedYour code still fails automated review:
http://pareview.sh/pareview/httpgitdrupalorgsandboxpetu2301343git
In commerce_options_as_images.module
On line 15:
I do not believe this is correct.
If you want to attach this CSS when the form is on the page, It should be
If you want it to be on every page on your site, don't use #attached.
On line 36, use theme_image if possible (it should be).
On line 56, is it appropriate for this to be a MENU_LOCAL_TASK? I don't know.
You do not implement hook_uninstall to remove the variables you are setting in commerce_options_as_images_ui.admin.inc
Comment #10
petu commentedDerek,
thank you for your review!
All the automated review errors were corrected.
I replaced #attached to your line of code (without loading on every page).
I replaced MENU_LOCAL_TASK to MENU_NORMAL_ITEM.
I used theme() instead of manual image creation.
Implemented hook_uninstall().
Corrected admin message link ("Visit settings page before to set settings").
Comment #11
PA robot commentedProject 1: https://www.drupal.org/node/2012412
Project 2: https://www.drupal.org/node/2301411
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #12
petu commentedComment #13
stefank commentedHi petu,
I like the idea of the module.
Automated Review
Best practice issues identified by pareview.sh / drupalcs / coder. http://pareview.sh/pareview/httpgitdrupalorgsandboxpetu2301343git reported number of issues that need to be address. Still some outstanding issues.
README.txt/README.md
(*) No: Follows the guidelines for in-project documentation and the README Template. It is not clear from this file, how this module works and how user will configure this with content type.
Also hook_help() is missing.
Can you address the issues, and maybe help to review other project applications to get a review bonus. This will put you on the high priority list, then git administrators will take a look at your project right away :-)
Thanks
Comment #14
petu commentedStefan,
thank you for review! I corrected the issues from automated system.
The module doesn't support tuning depending on several content types yet. Could you please describe your idea in particular?
Comment #15
stefank commentedPetu,
That was supposed to be mentioned somewhere else (about the content type). The point is that the README file should follow the guildelines and templete.
Thanks
Comment #16
petu commentedGot your idea Stefan!
Thank you for the advice!
I've corrected the README.txt as you mentioned.
Comment #17
duozerskI have reviewed the code and it is definitely ready to go. I have created an issue for the things to improve - #2354193: Use drupal_get_form() and system_settings_form() - but it is not a show stopper.
Thanks
AndyB
Comment #18
petu commentedThank you, Andrey!
The patch from #2354193: Use drupal_get_form() and system_settings_form() has been applied.
Comment #19
kscheirerNon-blocking issues:
No other issues found.
Thanks for your contribution, petu!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, 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.
Thanks to the dedicated reviewer(s) as well.
Comment #20
petu commentedKarl,
thank you for your time and for approving my account/module!
The issues are fixed now.
Comment #21
petu commentedComment #22
petu commented