[ECOMMERCE-483] Cannot run the rest endpoint of categoryById on SAP Created: 12/Oct/21 Updated: 18/Oct/22 Resolved: 18/Jan/22 |
|
| Status: | Closed |
| Project: | E-commerce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thuy To | Assignee: | Thuy To |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 1h | ||
| Time Spent: | 2d 1.5h | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Epic Link: | AuthorX Maintenance |
| Sprint: | AuthorX 1 |
| Story Points: | 5 |
| Description |
|
The rest endpoint to get category by ID: `/.rest/ecommerce/v1/categories/{categoryId}`
Reproduce: + We have a category id from SAP: electronicsProductCatalog/Online + Run the rest endpoint on postman with this categoryId
Dev notes:
|
| Comments |
| Comment by Thuy To [ 17/Jan/22 ] |
|
The solution is using the URL encode for "/" >> "%2F" and set -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true in configuration of tomcat |