Fix currency selection in Site Domain scenario

Components

Labels

Description

In the "\CurrenciesEventHandler::OnChangeCurrency" method:

  1. resolve given "$currency_iso" (ISO 3 code) into its ID

  2. when ID wasn't found OR currency isn't enabled OR ("$available_currencies" are specified and that ID isn't among them), then exit from the method

 

P.S.

Test plan must cover all added and existing code.

Context Information

None

Additional information (do not use)

None

Activity

Show:

[API] Administrator October 20, 2024 at 6:43 PM

User (SVN User: "alex") committed a fix to 5.2.x. Commit Message:

Fixes https://in-portal.atlassian.net/browse/MINC-202#icft=MINC-202 - Fix currency selection in Site Domain scenario

Differential Revision: https://qa.in-portal.org/D474

Erik S. July 5, 2024 at 11:14 AM

Extended test plan

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

2h 7m logged

Story Points

Fix versions

Created July 4, 2024 at 2:29 PM
Updated December 29, 2024 at 11:25 PM
Resolved October 20, 2024 at 6:43 PM