Problem/Motivation

The query destination key is wrong mapped, causing not redirecting to the previous form.

URL: http://example.com/admin/config/search/xmlsitemap/entities/settings
Form: XmlSitemapEntitiesSettingsForm

Link Url created before patch: /admin/config/search/xmlsitemap/settings/node/article?query%5Bdestination%5D=/admin/config/search/xmlsitemap/entities/settings

Link Url created after patch: /admin/config/search/xmlsitemap/settings/node/article?destination=/admin/config/search/xmlsitemap/entities/settings

Proposed resolution

Code fix

Remaining tasks

- Review/commit patch

User interface changes

None

API changes

None

Data model changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

GeduR created an issue. See original summary.

GeduR’s picture

Aanal.addweb’s picture

FileSize
88.28 KB
99.82 KB

@GeduR, Thanks for providing the patch, It works as expected & As per the given requirement. I Checked it using simplytest.me & attached the results for the same.

tunic’s picture

Status: Needs review » Reviewed & tested by the community

Simple patch, received feedback is good, moving to RTBC.

pifagor’s picture

Status: Reviewed & tested by the community » Needs work

the patch did not pass automatic tests because we need fix tests for dev version module

pifagor’s picture

Status: Needs work » Reviewed & tested by the community
pifagor’s picture

  • pifagor committed 23b04ea on 8.x-1.x authored by GeduR
    Issue #2931593 by GeduR, dhwani.addweb, pifagor, tunic: Wrong...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.