Description
Preconditions
- PHP 7.0.25
- MariaDB 10.1.29
- Confirmed Magento versions: v2.2.0 & v2.2.2
Steps to reproduce
- Create user role with custom access
- Enable everything under Sales, Customers & Stores leave the rest unchecked at Role Resources.
- Add user to this role
- Login with this user
- Try to edit an existing customer
Expected result
- User can be editted
Actual result
Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Ui\Component\HtmlContent::__construct() must implement interface Magento\Framework\View\Element\BlockInterface, boolean given, called in /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/module-ui/Component/HtmlContent.php:27 Stack trace: #0 /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Ui\Component\HtmlContent->__construct(Object(Magento\Framework\View\Element\UiComponent\Context), false, Array, Array) #1 /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManag in /home/bennies/domains/fiftiesstore.staging.web26.cream.nl/public_html/releases/20180112105829/vendor/magento/module-ui/Component/HtmlContent.php on line 27