? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
6 Feb 2022

Pull Request for Issue #36862 original work done by @tonypartridge here: #36873

Summary of Changes

Remove the direct changes to the redirect object and updating of new_url

Testing Instructions

Without this PR add a redirect and publish it into com_redirects, for example:

Source:
/my-custom-error
Destination
/my-real-live-page

access
/my-custom-error?query_junk_here

Actual result BEFORE applying this Pull Request

you are redirected to:
/my-real-live-page?query_junk_here

Try it again and you will see you are redirected to:
/my-real-live-page?query_junk_here?query_junk_here

Because before this PR the DB is updated.

Expected result AFTER applying this Pull Request

You are redirected to: /my-custom-error?query_junk_here
But your redirect in the database is not changed.

Documentation Changes Required

None. But it has to be merged up to J4 once tested against 3.10

avatar zero-24 zero-24 - open - 6 Feb 2022
avatar zero-24 zero-24 - change - 6 Feb 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Feb 2022
Category Front End Plugins
avatar tonypartridge
tonypartridge - comment - 7 Feb 2022

Thanks @zero-24 - Will get this tested.

avatar tonypartridge tonypartridge - test_item - 7 Feb 2022 - Tested unsuccessfully
avatar tonypartridge
tonypartridge - comment - 7 Feb 2022

I have tested this item ? unsuccessfully on 9936d6c

Fails to redirect correctly.

Incorrect variable naming convention, starts as $newUrl and changed to $new_url. Please update all to be $newUrl as per camel caps naming convention.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36951.

avatar zero-24 zero-24 - change - 7 Feb 2022
Labels Added: ?
avatar zero-24
zero-24 - comment - 7 Feb 2022

Ouch .. fixed thanks @tonypartridge

avatar tonypartridge tonypartridge - test_item - 7 Feb 2022 - Tested successfully
avatar tonypartridge
tonypartridge - comment - 7 Feb 2022

I have tested this item successfully on 398d77a

Welcomes! Perfect tested.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36951.

avatar pritam825 pritam825 - test_item - 7 Feb 2022 - Tested successfully
avatar pritam825
pritam825 - comment - 7 Feb 2022

I have tested this item successfully on 398d77a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36951.

avatar Quy Quy - change - 7 Feb 2022
Status Pending Ready to Commit
avatar Quy
Quy - comment - 7 Feb 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36951.

avatar zero-24 zero-24 - merge - 20 Feb 2022
avatar zero-24 zero-24 - change - 20 Feb 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-02-20 09:26:50
Closed_By zero-24
Labels Added: ?
avatar zero-24 zero-24 - close - 20 Feb 2022
avatar zero-24
zero-24 - comment - 20 Feb 2022

Merging thanks

avatar appnweb
appnweb - comment - 19 May 2022

Sorry to ask but has this been released in 3.10.7 finally or not ?

avatar zero-24
zero-24 - comment - 19 May 2022

Yes it has been released with 3.10.7

avatar appnweb
appnweb - comment - 19 May 2022

Ok, thanks.

Add a Comment

Login with GitHub to post a comment