Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
7 Oct 2018 at 13:14 UTC
Updated:
25 Oct 2018 at 08:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
logesh waran commentedComment #3
logesh waran commentedComment #4
logesh waran commentedComment #5
logesh waran commentedComment #6
arulan_pari commentedHello @Logesh Waran,
I have checked your module in PAReview and there is no error. Great!!!
Your module is a much needed one. You have classified the XML site exclude by both ways
That's Awesome and developer friendly too. I like the "Exclude links by textarea" way.
I have found one error, In XML sitemap Bulk Link Exclude Table page is showing your config path (admin/config/search/list/xml_exclude_links) under the URL column by default. For your quick identification I have attached the screenshot.
Could you fix the issue?
Comment #7
arulan_pari commentedComment #8
logesh waran commentedHi Arulan,
Thanks for your response. I will address the issue.
Comment #9
logesh waran commentedHi Arulan,
The above mentioned issue is addressed. Thanks
Comment #10
avpadernoComment #11
avpadernoComment #12
logesh waran commentedComment #13
logesh waran commentedComment #14
logesh waran commentedComment #15
sagar_cis commentedHello @Logesh waran
First of all great module, i have found a very small issue, i just install module and check "Xml Sitemap Bulk link exclude table" which is empty of course, so i got message which says "No users found", I think it should be "No links found".
Comment #16
sagar_cis commentedComment #17
avpadernoComment #18
avpadernoComment #19
avpadernoComment #20
sagar_cis commentedHello @Logesh waran
you have used following code to update xml sitemap link.
Where you are directly updating the values in tables, which will compliantly ignore "hook_xmlsitemap_link_update". you should use drupal_alter in your code, so other modules can still do there stuff with this module.
Comment #21
logesh waran commentedHi sagar_cis,
Thanks for your response. i will have a look and update here. thanks :)
Comment #22
logesh waran commentedComment #15 issue resolved
Comment #23
arulan_pari commentedHi @Logesh,
Your latest code is removed the config path(admin/config/search/list/xml_exclude_links) and changed typo error of "No users found" refer(#15).
Hi @sagar_cis,
#20 - Actually, The site admin can directly remove the sitemap URLs using the configuration. It is not necessary to add drupal_alter(HOOK).
And those pages are built by the Drupal form, so you can easily able to override the form_state values (XML-site URLs) using form_alter.
Comment #24
logesh waran commentedComment #25
avpadernoActually, #20 is correct: When there is a hook that is invoked when data is changed, it should be invoked. It's exactly what Drupal does when an entity is changed: It doesn't simply alter the values in the database tables, but also invoke those hooks that tell the modules an entity has been changed.
Comment #26
logesh waran commented@Kiamlaluno, thanks for the information. i will update
Comment #27
logesh waran commentedHi Team,
Now, I have replaced the database update with "XML sitemap" module's "xmlsitemap_link_update_multiple" function which will do the same
work and which informs the XML sitemap module that an entity is modified. So xml sitemap module triggers a regenerate flag which informs that updates has been occurred in entity and need to regenerate the sitemap.
Comment #28
jabastin arul commentedLogesh,
I have checked your module and everything seems to be working fine. So I will change your module status to RTBC.
All the best.
Thanks,
Jaba
Comment #29
jabastin arul commentedComment #30
avpadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, 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.
I thank all the dedicated reviewers as well.
Comment #31
avpaderno