Problem/Motivation
/admin/modules contains the instruction:
Regularly review and install available updates to maintain a secure and current site.
This currently links to Available updates /admin/reports/updates, which provides a report but doesn't enable any action. Further, it reports on all modules, not just those requiring updates.
It might be better to instead link to /admin/modules/update, which not only specifically lists just those modules needing to be updated but also enables the action to do so.
Steps to reproduce
Proposed resolution
Change 'available updates' to link to /admin/reports/updates/
Remaining tasks
Update patch
Review
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#22 | 2889289-22.patch | 2.94 KB | vsujeetkumar |
Comments
Comment #2
pramodga CreditAttribution: pramodga at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedComment #3
pramodga CreditAttribution: pramodga at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedDone the changes as per suggestions. Please review.
Comment #4
pramodga CreditAttribution: pramodga at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedComment #5
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedDo we know why the patch did not get queued for testing when it was uploaded? The status was 'needs review' and the default is to test all patches. I have queued it now, and will do some manual testing too.
Comment #7
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedHi Pramodga,
The patch fails to apply because you created it within the 'core' folder - the first line is
a/modules/update/update.module
. Patches for core code need to be created from the site root folder, so the first line of the patch should reada/core/modules/update/update.module
Jonathan
Comment #8
pramodga CreditAttribution: pramodga at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedThank You Jonathan for the comment. Will fix the issue and upload the updated patch.
Comment #9
pramodga CreditAttribution: pramodga at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedPlease find the updated patch.
Comment #10
pramodga CreditAttribution: pramodga at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedComment #12
mahalingam_cs CreditAttribution: mahalingam_cs at TATA Consultancy Services commentedPatch from #9 was applied successfully , but the change is not reflecting for the link " available updates" which appears when the Update checker module is not enabled.
Screenshot attached.
Comment #20
vikashsoni CreditAttribution: vikashsoni as a volunteer and at Zyxware Technologies commented@Charles Belov
there is no issue exists i am getting proper update link this issue is resolved for reference sharing screenshot ....
Thanks @Charles Belov for updating me
Link has been updated reports to modules
for ref sharing screenshots....
Comment #21
Charles Belov@vikashsoni I'm not sure what you believe the proper update link is. Your screen print shows the link going to /admin/reports/updates which is the link I reported as being problematic. I'm expecting it to go to /admin/modules/update instead.
/admin/reports/updates has a download link to the update but doesn't apply the link.
/admin/modules/update has a button that downloads the update and applies it.
Comment #22
vsujeetkumar CreditAttribution: vsujeetkumar at Srijan | A Material+ Company for Drupal India Association commented@Charles Belov Re-roll patch for 9.3.x.
Also redirected the "Available Updates" link to the route "/admin/modules/update". And this link is present in the below message.
And also redirected the "Available Updates" link to the route "/admin/reports/updates/update". And this link is present in the below message section.
Both "/admin/modules/update" & "/admin/reports/updates/update" links are redirected on the same page. For more information I have attached some screen shots, Please have a look and advise.
Comment #23
Rinku Jacob 13 CreditAttribution: Rinku Jacob 13 at Zyxware Technologies commentedVerified and tested Rerolled patch#22 on the drupal 9.3.x-dev version. Patch applied successfully and looks good to me.Adding screenshot for the reference.Need +1 RTBC
Comment #24
vikashsoni CreditAttribution: vikashsoni as a volunteer and at Zyxware Technologies commentedComment #25
sonam.chaturvedi CreditAttribution: sonam.chaturvedi at QED42 for Drupal India Association commentedVerified and tested re-rolled patch#22.
Patch applied successfully on 9.3.x-dev.
+1 RTBC
Testing Steps:
1. Go to Admin > Extend
2. Check the "Available Updates" link in message "Regularly review and install 'available updates' to maintain a secure and current site." directs to the route "/admin/report/updates".
3. Now apply the patch
4. Verify the "Available Updates" link in message "Regularly review and install 'available updates' to maintain a secure and current site." directs to the route "/admin/modules/update"
5. Verify the "Available Updates" link in message "There was a problem checking 'available updates' for Drupal." directs to the route "/admin/report/updates/update"
Testing Results:
The "Available Updates" link in message "Regularly review and install 'available updates' to maintain a secure and current site." directs to the route "/admin/modules/update".
Comment #26
quietone CreditAttribution: quietone as a volunteer commentedI applied the patch and went to /admin/modules. There are two links on the page with the text 'available updates' and they direct to two different pages. That is confusing. I think having a ux review would help to clarify what should be done, adding tag.
@Rinku Jacob 13, @ vikashsoni, thank you for looking into this issue. Screenshots were already posted and adding more add s noise and does not help advance the issue. Therefor, credit has been removed per How is credit granted for Drupal core issues.
Comment #31
quietone CreditAttribution: quietone as a volunteer commentedComment #32
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedI have hidden the numerous screen shots from the list in the IS, as they caused the patch to not be shown. The patch is two years old, from 9.3 so I expect a re-roll will be required for 11.x.