Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Aug 2013 at 13:51 UTC
Updated:
9 Feb 2017 at 17:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxnaiduhsh2065955git
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 #2
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
naiduharish commentedComment #4
naiduharish commentedI have resolved the issues mentioned above.
Comment #5
klausiI guess this needs review? See the project applications workflow.
Comment #6
balagan commentedMaster Branch
It 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.
Comment #7
balagan commentedAt line 84 you are using 'LANGUAGE_NONE'.
If the field translation module is used (or maybe entity translation), this condition might not be true. Check out the field_language() function or the entity_metadata_wrapper here. Otherwise looks good to me, but will take a closer look at it tomorrow.
Comment #8
xiukun.zhou commentedwhen module is disabled after use Hook_uninstall delete variable
http://drupalcode.org/sandbox/naiduhsh/2065955.git/blob/HEAD:/node_updat...
http://drupalcode.org/sandbox/naiduhsh/2065955.git/blob/HEAD:/node_updat...
Comment #9
naiduharish commentedThank you for the feedback @balagan and @xiukun.zhou. I have made the changes mentioned by you in #7 and #8.
Comment #10
naiduharish commentedPlease let me know the further steps for making it as full project. Thanks...
Comment #11
naiduharish commentedComment #12
swim commentedHey Naiduharish,
Please have a read of https://drupal.org/empty-git-master. Fairly quick one; just need to remove the current master and develop branch's and follow the naming conventions provided.
Please name all of your persistent variables with a prefix of your module name. So node_update_fields_VARIABLE_NAME. This also means updating your implementation of hook_uninstall.
node_update_fields.module, line 41.
variable_get allows the setting of a default value, you don't need to set $result as an empty string.
Having worked with modules which aim to offer similar functionality it can get complicated when dealing with multilingual fields etc. Simple data migration is generally an ad hoc experience but good work.
Cheers,
Comment #13
naiduharish commentedHey Swim,
Thanks for the feedback, I have made the changes you have mentioned above. In the case of removing the master branch is not allowed as i cannot keep 7.x-1.x branch as default because sandbox project cannot have revisions. I have removed the develop branch. Please suggest me any other changes if required.
Comment #14
naiduharish commentedComment #15
Alexxikon commentedDear naiduharish, here are my observations on your project:
node_update_fields.infofile:"description = Allows the settings for updating the common fields of similar nodes."
What do you mean by "similar"? This does not seem clear.
node_update_fields.installfile:There is a large section of the code commented out. Why? Is it intentional? If you don't need to define the schema, just remove the code. The git revision control system helps you to keep track of removed code, should you ever need it again.
node_update_fields.modulefile:You read the 'node_update_fields_update_nodes' and 'node_update_fields_field_table_name' persistent variables. It's not clear to me how you intend to use these variables. Please make sure that the code is reentrant and can be used by several users in parallel.
The
README.txtfile is not very useful. What are the main features and advantages of this module? There are also several typos. I recommend that you write an explanation that can be easily understood by a non-expert Drupal user.See also:
https://drupal.org/node/447604
https://drupal.org/node/161085
http://drupalcode.org/project/bot.git/blob/HEAD:/README.txt
http://drupalcode.org/project/admin_menu.git/blob/refs/heads/7.x-3.x:/RE...
http://drupalcode.org/project/actions.git/blob/HEAD:/README.txt
There are also typos:
"Go the" should read "Go to the"
Comment #16
Alexxikon commentedComment #17
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #18
naiduharish commentedComment #19
naiduharish commentedHey Alexxikon,
Thanks for reviewing the module, as per your suggestions I have made the possible changes. Please let me know if i have missed something.
Comment #20
olivierg commentednode_update_fields.install:You can remove the commented code.
node_update_fields.admin.inc:The variable
variable_set('update_nodes', $variable_array);is put in database but not removed at uninstall.The name of this variable is not prefixed.
Documentation is very poor.
The module seems to not work correctly.
Comment #21
olivierg commentedComment #22
naiduharish commentedHi blobsmith,
I had made the changes in the 7.x-1.x branch which wasn't merged with the master branch. I have merged with the master branch now and have improved the documentation. Please review again and let me know if any changes needs to be done.
Thanks.
Comment #23
naiduharish commentedComment #24
naiduharish commentedComment #25
ngocketit commentedThe code basically looks ok but it would be more readable if you can put more spaces between lines. For example the following piece of code looks a bit crammed:
Comment #26
ngocketit commentedComment #27
naiduharish commentedHi ngocketit,
Thanks for the review, as suggested i have added some extra spaces between the lines wherever possible. Please review again and let me know if any changes to be done.
Thanks.
Comment #28
naiduharish commentedComment #29
neetu morwani commented@naiduharish
1. On page admin/config/content/common_fields, after saving the settings for the content type,I get the notice for - Notice: Undefined index: sql in node_update_fields_admin_content() (line 25 of /var/www/drupal-7.28/sites/all/modules/node_update_fields/node_update_fields.admin.inc).
2. Git repository link is not correct. It includes your username, therefore asks for your password while cloning.
It should be git clone --branch master http://git.drupal.org/sandbox/naiduhsh/2065955.git node_update_fields
3. Also the project page should have READ DOCUMENTATION link.
4. Also the steps to Use the module should be clear and clear. A better README.txt is possible.
Please fix these.
Comment #30
neetu morwani commentedComment #31
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 #32
naiduharish commentedComment #33
naiduharish commentedI have fixed the issues mentioned in #29. Kindly review.
Comment #34
rahul.nahar001 commentedHi @naiduharish,
It's working fine for me.
Thanks
Rahul Nahar
Comment #35
SoumyaDas commentedIt looks good to me.
Comment #36
jfurnas commentedI downloaded this and tested it as best I could. Everything appears to be working and I can't identify any issues.
Comment #37
jfurnas commentedComment #38
naiduharish commentedComment #39
klausiRemoving review bonus tag, there is only one review listed in the issue summary? Make sure to read https://www.drupal.org/node/1975228 again and provide links to exact review comments. Thanks!
Comment #40
naiduharish commentedComment #41
naiduharish commentedHi klausi,
Updated links with exact comment URL's.
Comment #42
naiduharish commentedComment #43
poojasharmaece commentedHi naiduharish,
Module is not working fine for me. I am attaching configration screenshot.
1: I have created 10 nodes with same title and body content for Article and Page.
2: Then i edited one node and updated Body content. (Checked checkbox : Update common fields for other nodes)
Then i checked all created node content. No one was updated.
Please let me know , if i am missing anything.
Comment #44
naiduharish commentedHi @poojasharmaece,
Thanks for the review, just saw your configuration image, the common field you selected is body which should be title.
If the title(any field) of current updating node is same as other nodes then only those nodes will be updated.
Let me know in case of any issues.
Comment #45
satyam upadhyay commentedHi naiduharish,
Fix the https://pareview.sh/node/779
There is some error like https://www.screencast.com/t/r0Reem9WTQS
Regards
Satyam
Comment #46
klausiMinor coding standard issues are surely not application blockers, anything else that you found or should this be RTBC instead?
Comment #47
naiduharish commentedHi @Satyam,
Thanks for the review, have fixed the coder issue.
Comment #48
th_tushar commentedHi naiduharish,
Please find below listed manual reviews.
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 #49
naiduharish commentedHi Tushar,
Thanks for the review, I will work and update accordingly.
Comment #50
jeetendrakumar commented@naidusharish : Please fix the git error.
"There is still a master branch, make sure to set the correct default branch"
https://pareview.sh/node/779
Comment #51
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.