You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A serviceProvider object is created and validated, user tries to invoke the ABAP-inq using the same serviceProvider object but passing in client as undefined;
returngetPrompts({backendTarget: {
abapTarget,'test',
serviceProvider,type: 'application'},existingDeployTaskConfig: ui5DeployConfig?.app,// Used to pre-populate the answers
indexGenerationAllowed,useAutocomplete: true,showOverwriteQuestion: overwriteQuestion}asAbapDeployConfigPromptOptions,DeploymentGenerator.loggerasunknownasLogger,getPlatform()!==PLATFORMS.CLI);
This results in a HTTP 401 and the user is asked for their credentials.
If the code is updated to pass an empty string, as follows;
Passing in an empty string or undefined should be treated equally. The calling client should not be expected to preset the client if the value is undefined.
Steps to Reproduce
Steps to reproduce the behavior:
In SAP Fiori tools, create a new project using any template
Create the template using a URL data source
Enter credentials, if required
Select Y to adding deployment configuration
User is prompted for credentials again
Expected results
User should not be prompted for credentials again.
Actual results
User is prompted for credentials.
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:
Mac OS
Windows
Other
Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}
The text was updated successfully, but these errors were encountered:
Related Feature
Found when testing #2128
Description
A serviceProvider object is created and validated, user tries to invoke the ABAP-inq using the same serviceProvider object but passing in client as
undefined
;Calling the the ABAP inq prompting;
This results in a HTTP 401 and the user is asked for their credentials.
If the code is updated to pass an empty string, as follows;
Then the HTTP request is successful.
Passing in an empty string or undefined should be treated equally. The calling client should not be expected to preset the client if the value is undefined.
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
User should not be prompted for credentials again.
Actual results
User is prompted for credentials.
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:
Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}
The text was updated successfully, but these errors were encountered: