Skip to content

Magento upgrade 2.4.0 to 2.4.1 - Login As Customer acl.xml title attribute missing #30680

Closed
@DiegoSana

Description

@DiegoSana

Preconditions (*)

  1. Magento 2.4.0
  2. LoginAsCustomer disabled
    'Magento_LoginAsCustomer' => 0,
    'Magento_LoginAsCustomerAdminUi' => 0,
    'Magento_LoginAsCustomerApi' => 0,
    'Magento_LoginAsCustomerFrontendUi' => 0,
    'Magento_LoginAsCustomerLog' => 0,
    'Magento_LoginAsCustomerLogging' => 0,
    'Magento_LoginAsCustomerPageCache' => 0,
    'Magento_LoginAsCustomerQuote' => 0,
    'Magento_LoginAsCustomerSales' => 0,
    'Magento_LoginAsCustomerWebsiteRestriction' => 0,

Steps to reproduce (*)

  1. Upgrade to Magento 2.4.1;
  2. Try to access the admin.

Expected result (*)

  1. Acces to the admin dashboard with your user and password

Actual result (*)

  1. Blank page with this error
> Exception #0 (LogicException): Could not create an acl object: Invalid Document 
Element 'resource': The attribute 'title' is required but missing.
Line: 13

Screenshot from 2020-11-06 16-11-11

  1. Only Magento_LoginAsCustomerAssistance enabled
    'Magento_LoginAsCustomer' => 0,
    'Magento_LoginAsCustomerAdminUi' => 0,
    'Magento_LoginAsCustomerApi' => 0,
    'Magento_LoginAsCustomerAssistance' => 1,
    'Magento_LoginAsCustomerFrontendUi' => 0,
    'Magento_LoginAsCustomerLog' => 0,
    'Magento_LoginAsCustomerLogging' => 0,
    'Magento_LoginAsCustomerPageCache' => 0,
    'Magento_LoginAsCustomerQuote' => 0,
    'Magento_LoginAsCustomerSales' => 0,
    'Magento_LoginAsCustomerWebsiteRestriction' => 0,
  2. When magento try yo merge all acl.xml the resource Magento_LoginAsCustomer::login stay without title attribute

Workarround

Enable Magento_LoginAsCustomerAdminUi
or
Enable Magento_LoginAsCustomerLog
or
Enable all Magento_LoginAsCustomer*
or
Disable Magento_LoginAsCustomerAssistance

  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.

Metadata

Metadata

Assignees

Labels

Component: LoginAsCustomerFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: doneReported on 2.4.1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions