Closed slin-sap closed 1 year ago
@slin-sap it seems to be fixed, could you please check and close the issue.
@tobiasqueck A fix has been applied based on the WebIDE implementation. But it didn't resolve the customer incident related to this bug. We are waiting for ADT colleague to further investigate the ADT service response data.
Customer closed the internal incident thus closing this issue..
Related Feature
Feature request: #518 Related fix: #1083
Description
When package name contains namespace e.g. "/A/B/NAME", ADT service API fails to fetch transport list.
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
Transport list is fetched successfully.
Actual results
Failure to fetch transport requests, error
URI-Mapping cannot be performed due to invalid URI:
Screenshots
Package name can also have namespace, which requires uriencoding:
Root Cause Analysis
Problem
Fix
After validating the scenario with customer, we can confirm that only fix introduced by #1083 is required. Thus the origin fix introduced by this GH issue needs to be removed by PR #1220.
Why was it missed
Specific scenario that package name and app name contain namespace was not considered in the original requirements.
How can we avoid this
Added unit test to make sure ADT request body has uri encode for app name and no uri encode for package name.