Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Oct 2012 at 14:38 UTC
Updated:
29 Mar 2013 at 05:25 UTC
There is no other module that provides a flexible and user friendly way to choose an item from an hierarchical list. Thanks to mcDropDown, this module provides both autocompletion feature and nice popups for every hierarchy level. Similar to Mac dropdowns.
http://drupal.org/sandbox/Zheka/1815526
git clone http://git.drupal.org/sandbox/Zheka/1815526.git tree_select
For Drupal 7.
Comments
Comment #1
sreynen commentedHi Zheka,
Thanks for your contribution. I just looked at it briefly to confirm a common problem that sounded likely after reading your description:
The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
Comment #2
developmenticon commentedIt 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.
Review of the master branch:
do to other project application review and get review bonus to finish it faster.
Comment #3
Zheka commentedHello,
Thank you for review! I've corrected the deficiencies of this module:
1. I've added README.txt
2. I've removed jquery.mcdropdown.js plugin from the module and added description in README.txt how to add this plugin.
3. I've removed "version" from the info file.
4. I've checked the Drupal Coding Standards and correct inconsistencies.
5. I've created branch 7.x-1.x.
Comment #4
aritra.ghosh commentedHii,
I must say this is a very nice module. I installed the module and it worked. Readme file has clear installation and usage instructions. However there is a minor issue:
In tree select module file, at line 168, $vars['element']['#default_value'] throws a warning if the form is used for the first time and there is no default value. You probably need to implement a check there.
Else this looks RTBC to me. The module seemed to work without a hitch!!..
Thanks,
Aritra.
Comment #5
Zheka commentedHi,
thank you for remark, I have added a variable default value check.
Comment #6
Zheka commentedBut I can't promote my module from sandbox to full projects. I can't find Promote sub-tab. Tell me please, how to promote tree select to full projects?
Comment #7
aritra.ghosh commentedHii,
You can't promote your module just yet. First a git admin will check the status of application and do a final code review. If everything is all right the it will be promoted by him and hopefully then you will be granted permission to promote your own modules in future. Please understand that there are lots of applications and git admins are quite busy. So this may take some time.
To accelerate the process you can review others code and take part in Review Bonous.
Thanks,
Aritra
Comment #8
jthorson commentedSorry this has sat for so long, especially at RTBC. :(
I took a look at the module, and had the following suggestions:
To see the vulnerability for yourself, configure a Taxonomy Term field to use the Tree Select widget, and then create a taxonomy tag containing
<script>alert('xss!');</script>as it's contents. As you browse around the site, the user-supplied javascript is actually run, resulting in little 'xss!' popups as soon as you try to edit any node using the tree select field.Sadly, this second issue is a show-stopper from an application point of view ... and it will have to be addressed before we can promote the module or grant you "git vetted user" status.
Once you have, please set your application back to 'needs review', and feel free to ping me on IRC for another review if it stalls out again.
Comment #9
jthorson commentedComment #10
jthorson commentedAdding the PAReview: security tag, which is simply used as a metric to help us track the number of issues where security issues have been uncovered through the review process.
Comment #11
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 #11.0
PA robot commentedEditing description.