Skip to content

When Tweakwise hits the feed URL a redirect might take place #42

@dverkade

Description

@dverkade

Issue Brief

When Tweakwise hits the feed URL a redirect might take place, causing invalid feeds to be retrieved.

Environment

  • PHP Version: 8.1
  • Magento Version: 2.4.6-p4
  • Magento Enterprise: No
  • Tweakwise Export Version:
  • Magento Deploy Mode: production

Steps to reproduce

  1. Have a storeview on example.com and a separate backoffice URL, like backoffice.example.com
  2. example.com runs on webserver 1 and backoffice.example.com runs on webserver 2
  3. Crons only run on webserver 2 / the backoffice server.
  4. Feeds gets generated on webserver 2.

Actual result

  1. When Tweakwise hits the feed URL it will redirect / fetch the feed from the store domain URL. I.e. https://backoffice.examaple.com/tweakwise/feed/export/key/1234 will get the feed from https://www.example.com/tweakwise/feed/export/key/4576 which might get this from another webserver which does not have (the latest ) feed.

Expected result

List the expected results as a bullet list of expectations

  • Do not redirect to store URL and fetch from the admin / backoffice domain directly.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions