Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2011 at 07:24 UTC
Updated:
18 Jan 2013 at 12:23 UTC
Simple module that gives option to add attributes for options in select box.
Sandbox URL: http://drupal.org/sandbox/vijaycs85/1340952
git clone --branch 6.x-1.x http://git.drupal.org/sandbox/vijaycs85/1340952.git options_attributes
| Comment | File | Size | Author |
|---|---|---|---|
| select_option_attr.jpg | 12.38 KB | vijaycs85 |
Comments
Comment #1
devsaran commentedGreat module.
Going to test the module.
Before that, I found README.txt is missing in your module.
--------------------
Saran Dev,
Doing B.Tech I.T,
Coimbatore.
Comment #2
vijaycs85Hi saran.quardz,
Thank you for your time. Added README.txt file. Please have a look.
Comment #3
raynimmo commentedAutomated Review
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
Comment #4
raynimmo commentedComment #5
vijaycs85Thanks for the report raynimmo. I have fixed the code and moved to version specific branch.
Please let me know, if you have any other thoughts.
Comment #6
raynimmo commentedThere are still a couple of minor points you should maybe address.
Automated Review
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
Manual Review
@filedirective from options_attributes.module, see the Doxygen and comment formatting conventions with regards to Documenting Files.Also ran it through with Coder using all settings including 'Coder Tough Love', nothing reported back, well done.
Other than those two minor points everything else seems in order.
Good luck with the rest of yoir review.
Comment #7
vijaycs85Thank you for the review raynimmo. I have made the requested changes and ran coder.
Thank you.
Vijayachandran.
Comment #8
doitDave commentedAutomated review (Please keep in mind that this is primarily a high level check that does not replace but, after all, eases the review process. There is no guarantee that no other issues could show up in a more in-depth manual follow-up review.)
Review of the 6.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
hth, dave
Comment #9
misc commented@vijaycs85 has been contacted to ask if the application is abandoned.
http://drupal.org/node/894256
Comment #10
vijaycs85Hi MiSc,
Thanks for your mail. As mentioned in my mail, I will resume this when I get time. For now, changing status to postponed.
Thank you.
Regards,
Vijay.
Comment #11
vijaycs85Fixed code review fixes in #8. Please review and let me know if any issues.
Thank you.
Regards,
Vijay.
Comment #12
misc commentedYou still need to fix the master branch as is says in commment #3, and you missed some stuff in the coding standards, and some things where added:
Comment #13
vijaycs85I stopped working on master branch long back. 6.x is up to date. Should I remove changes from master?
Comment #14
misc commentedYou should remove all the files from the Master branch and just add a README.txt that points the users to the right branch.
Comment #15
vijaycs85Updated master as advised in #14. please review and let me know, if any other issues.
Comment #16
c-logemannAssigned to myself to show I am working on manual review.
Comment #17
c-logemannManual review
Documentation Issue:
Here and in your README.txt you write only one sentence to explain. And on the project page you are only showing an image. Please give us more information:
A detailed description of what your project does, including how it is different from other, similar projects, if applicable. - http://drupal.org/node/1011698
After checking your code I have an idea what your module is doing. It's an helping module to improve theming option lists. Is this right?
I think a sitebuilder without programming skills can't use this module and have a bad experience if trying. So please make this clear in your module description. I think moving the "usage description" from the module file to README.txt would be better. And maybe add a link to form API documentation.
Please change git link in issue summary to public access:
git clone --branch 6.x-1.x http://git.drupal.org/sandbox/vijaycs85/1340952.git options_attributes
And maybe add a link to pareview.
Code questions
I seems that this module is only an API for extending forms with hook_form or hook_form_alter. This is the reason why I have not tested the funtionality yet. But when I am think about your strategy there might be a problem with hook_form_alter of other modules. I think you have to deal with module weights to make sure your hook is called after the custom alter of your user?
Is it necessary to add yout theme on every form (options_attributes_add_theme(&$form)) even if it's not containing any options especially your special addon?
Automatic Code Review:
There are some conding standard issues reported:
http://ventral.org/pareview/httpgitdrupalorgsandboxvijaycs851340952git
Comment #18
vijaycs85Nice work C_Logemann. I will update you once done with my changes.
Comment #19
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #20
vijaycs85Comment #20.0
vijaycs85git instruction change, so check out from version specific branch instead of master.
Comment #21
vijaycs85Hello,
Reply for #17:
1. Moved usage to readme.txt. It was in readme and I moved to module because I read some restriction on number of characters in readme file. However, I moved back now.
2. Added a note in readme.txt that its for developers (not site builders).
3. Update link
4. Yes, we do scan the form and check for select element with #option_attributes set. It would be costly, if we do these check on
Comment #22
vijaycs85Comment #23
jdjeet commentedHey, I guess I took the right link to Vendral.
http://git.drupal.org/sandbox/vijaycs85/1340952.git
There are still small errors in doc, info and options_attributes.module file
I did some manual review. found the same as of Vendral..
Once you fix them we can review at once.
Comment #24
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #24.0
klausiupdating git link to public accessible link.