Had to run update.php to test a patch. Database upgrades succesfull. The final screen with link back to administration pages, that link takes me back to the start of update.php. Should probably be "/admin" but right now is /core/update.php/admin.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yoroy’s picture

yoroy’s picture

Component: update.module » base system
Issue tags: +Novice

Tagging, changing component.

amateescu’s picture

I encountered this as well with the 'Front page' link which was redirecting back to update.php.

JeroenT’s picture

Status: Active » Needs review
FileSize
768 bytes

Fixed the wrong links. Patch attached.

Status: Needs review » Needs work

The last submitted patch, update-wrong_links_fix-2020141-4.patch, failed testing.

pleone’s picture

Status: Needs work » Needs review

We tested it again locally and the test passed.

DarthDrupal’s picture

Issue tags: -Novice

Status: Needs review » Needs work
Issue tags: +Novice

The last submitted patch, update-wrong_links_fix-2020141-4.patch, failed testing.

suhel.rangnekar’s picture

Assigned: Unassigned » suhel.rangnekar
Status: Needs work » Needs review
FileSize
679 bytes

Updated correct link for "Front page" and "Administration pages" links.

marcoscano’s picture

I tested the patch in #9 and it works fine.

Just note that you add a couple of trailing blank spaces on line 170 of update.php

Attached a modified version of it with no trailing spaces

jlbellido’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
59.34 KB

I have applied #10 and it works for me!

Dries’s picture

+++ b/core/update.phpundefined
@@ -166,14 +166,16 @@ function update_script_selection_form($form, &$form_state) {
-      'href' => 'admin',

What if clean URLs aren't enabled?

alexpott’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

This is a duplicate of #2017769: Links from update_helpful_links() should point to site root and not to update.php.. the patch is identical...

I'll ensure that people who have worked on this patch get a commit credit on the other....

alexpott’s picture