Skip to content

Invalid parameter configuration provided for $block argument upon no ACL permissions to the block #12660

Closed
@Tomasz-Silpion

Description

@Tomasz-Silpion

Preconditions

  1. Reproduced on clean magento 2.2.0, 2.2.1 and 2.2.2 (current develop branch)

Steps to reproduce

  1. Create new admin user role with customer tab permissions only
  2. Assign new admin user to the role
  3. Login as the user
  4. Try to create new customer

acl

Expected result

  1. New customer form is shown

Actual result

  1. Invalid parameter configuration provided for $block argument of Magento\Ui\Component\HtmlContent" exception is thrown

customer_form.xml addons restricted to selected ACL permissions such as Newsletter/view/base/ui_component/customer_form.xml prevent htmlContent block from being created causing boolean passed to Magento\Ui\Component\HtmlContent constructor which demands block to be an instance of BlockInterface

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions