Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2015 at 22:07 UTC
Updated:
25 Jul 2016 at 10:24 UTC
Jump to comment: Most recent
Comments
Comment #1
ayesh commentedNice work.
Pareview clean, excellent code comments too. I found some grammatical errors in the code comments though.
IMO, address_cr_addresses function is too large, and including it in the .module makes the installed site a bit more heavy.
Consider moving the core logic to a different file, and to include the file only when the function was called.
I'm not changing the status to Needs Work because I didn't find any blocker.
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
jepster_Hi,
with this info:
GIT: git clone --branch 7.x-1.x kevin.coto@git.drupal.org:sandbox/kevin.coto/2408001.git addressfield_cr
Your project cannot be cloned by Git from any reviewer. Please provide a command without any dependency to your user account in your project application issue description: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/kevin.coto/2408001.git addressfield_cr
Comment #4
ayesh commentedgit clone --branch 7.x-1.x http://git.drupal.org/sandbox/kevin.coto/2408001.git addressfield_crAbove works just fine.
Comment #5
jepster_Place this in your project application as central position. "GIT: git clone --branch 7.x-1.x kevin.coto@git.drupal.org:sandbox/kevin.coto/2408001.git addressfield_cr" is linked to the kevin.coto account.
Comment #6
mihai_brb commented+fixed git clone cmd
Comment #7
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #8
alarez commentedGit clone command git clone --branch 7.x-1.x http://git.drupal.org/sandbox/kevin.coto/2408001.git addressfield_cr works fine.
Comment #9
alarez commentedComment #10
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxkevincoto2408001git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
alarez commentedFixed code standards errors.
Comment #12
alarez commentedComment #13
jimafisk commentedHi alarez,
Very cool add-on for addressfield! I could see this greatly reducing errors for sites with lots of manual entry.
I needed to use https for your git clone to work:
git clone --branch 7.x-1.x https://git.drupal.org/project/addressfield_cr.git addressfield_crInstall was clean and drush found dependencies. Module worked as described, providing additional district options to addressfield for Costa Rica.
Pareview (http://pareview.sh/pareview/httpgitdrupalorgprojectaddressfieldcrgit) has a few suggestions, namely:
Manual review:
Comment #14
karoop commentedThank you @jimafisk for the git clone link. The one in the issue summary is not working.
I don't understand why this is in this issue queue if the project is already a full project... But here's my review anyway:
Functionality and user interface
I installed the module successfully and the dependencies are set up correctly. I would think a bit more about a few more things:
spanelements without any spaces in between. This makes the address look like this if you don't style it: 'By DistrictSan José, EscazúSan Rafael10203225'. You should make sure that the address comes out like it should by default without any additional styling. I would put separate lines indivelements, and the fields that should be output in one line inspans separated by spaces:Code
$optionparameter inaddress_cr_addresses(), or at the very least you should list the accepted values in the doc block.name_lineis a bad name for the field that means autofill type.name_linefield are meaningless ('1', '2'). You should either use strings or named constants.localityandprovincefields are both givencantonclass. Is that right?#empty_optionoption, or write them in English.get_suffix_id. This name is so generic that any module could try to define it. I prefix all functions that are not hooks with_module_name.I hope my comments help!
Comment #15
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.