Skip to content

Unable to create user in backend with Magento_LoginAsCustomerAdminUi enabled and 'Store View To Login To' set to manual selection. #33096

Closed
@wahidnory

Description

@wahidnory

Preconditions (*)

  1. Magento 2.4.2 | Magento 2.4.2-p1
  2. Sample data on both installed
  3. Make sure site is set to developer mode
  4. Make sure magento/module-login-as-customer-admin-ui is enabled
  5. Set Store -> Configuration -> Customers -> Login as Customer -> Store View To Login To to "Manual Selection"
  6. or bin/magento config:set login_as_customer/general/store_view_manual_choice_enabled 1`

Steps to reproduce (*)

  1. Go to Customers -> All customers
  2. click Add New Customer

Expected result (*)

  1. Expect to see form fields to create a new customer
  2. image

Actual result (*)

  1. Exception is thrown with message Exception #0 (Magento\Framework\Exception\LocalizedException): Unable to get Customer ID.
    2.image

Additional Information:

  1. Enable developer mode from terminal: >

rm -rf generated/metadata/* generated/code/*
bin/magento deploy:mode:set developer

  1. reindex and clear cache
  2. enabled Login as Customer with default values selected."Store view to login to : Auto Detection"
  3. Run from terminal:

php bin/magento config:set login_as_customer/general/store_view_manual_choice_enabled 1

  1. Clear cache.
  2. Go to Customers - All Customers - Add new Customer

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: UI FrameworkComponent: LoginAsCustomerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions