[ECOMMERCE-371] [Magento] Throwing an exception on browser and getting stuck when cannot get access token. Created: 17/Mar/21  Updated: 31/May/21  Resolved: 25/Mar/21

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.4

Type: Bug Priority: Neutral
Reporter: Thuy To Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Implementation
Remaining Estimate: 0d
Time Spent: 3d 0.75h
Original Estimate: Not Specified

Attachments: PNG File image-2021-03-17-18-26-02-444.png    
Issue Links:
Cloners
is cloned by ECOMMERCE-376 [SF & SAP]Throwing an exception on br... Closed
Relates
relates to ECOMMERCE-408 Wrong yaml config prevent Ecommerce a... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Epic Link: Commerce fixes and improvements 1.2.4 - 1.2.5
Sprint: Add-Ons 60
Story Points: 3

 Description   

Steps to reproduce

1/ Set up with the instance Magento that connection is failed or input the yaml configuration with wrong baseUrl.  

    connectionName:
         authUrl: http://demo-acm-2.bird.eu
         baseUrl: http://demo-acm-2.bird.eu
         enabled: true
         credentials:
             username: demo
             password: demo123

Or: 

   connection2:
       authUrl: http://magento2demo.firebearstudio.com
       baseUrl: http://magento2demo.firebearstudio.com123
       enabled: true
       credentials:
           username: demo
           password: 1q2w3e4r5t

2/ Click on magento ecommerce.

 , 

Expected results

The exception should be shown in log, not thrown on browser and the UI does not get stuck.

Actual results

Workaround

Development notes


Generated at Mon Feb 12 01:43:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.