[ECOMMERCE-565] Cannot select the product on SAP connector in ecommerce chooser Created: 08/Jun/23 Updated: 04/Aug/23 Resolved: 13/Jun/23 |
|
| Status: | Closed |
| Project: | E-commerce |
| Component/s: | None |
| Affects Version/s: | 1.3.4 |
| Fix Version/s: | 2.0, 1.3.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Thuy To | Assignee: | Alberto Soto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 1d 5h | Time Spent: | 1d 5h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
||||||||||
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| 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
|
||||||||||
| Release notes required: |
Yes
|
||||||||||
| Date of First Response: | |||||||||||
| Epic Link: | AuthorX Maintenance | ||||||||||
| Story Points: | 2 | ||||||||||
| Team: | |||||||||||
| Work Started: | |||||||||||
| Approved: |
Yes
|
||||||||||
| Description |
| Comments |
| Comment by Thuy To [ 09/Jun/23 ] |
|
Discovery: Because the structures of categoryId in Sap connector are different from other connectors, categoryId contains “/”, so it gets a wrong format for productId when converting a value in bean. Our code is missing this case in Sap. It's impacted by code of the migration in old format data.
Solution: + We should re-implement in toBean(String value) method to cover code in case categoryId contains “/” and get the correct format for productId in Sap connector. ProductId should be "1776948". + Test carefully to make sure that the migration in old format data works well.
|
| Comment by Alberto Soto [ 13/Jun/23 ] |
|
This bug has been solved. There was a problem parsing the JSON response from the server in some use cases for a product detail widget. Although not visible from ecommerce App when selecting a detail widget for a product that relies on SAP, the JSON response from the third party was generating a non traced error, producing a non visible page as a result. This bud does not need client modifications |