Skip to content

BUG - Credentials from previously selected system are resubmitted when switching to a new system #5017

Description

@avasilev-sap

Related Feature

Feature request: issue number

Description

When a user selects a system that requires authentication, enters their credentials and logs in, then switches to a different
system that also requires authentication, the previously entered password is automatically resubmitted against the new system.

This happens because the password field retains its value when the system dropdown changes, and yeoman-ui re-triggers the validate
callback on all visible fields on every model update. As a result, the old credentials are sent to the new system without the
user's intent.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open the ADP generator configuration step
  2. Select a system that requires authentication
  3. Enter username and password and log in successfully
  4. Change the system selection to a different system that also requires authentication
  5. Observe: the old password is silently resubmitted to the new system

Expected results

Actual results

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}

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions