IcecatNV / magento-extension

MIT License
2 stars 9 forks source link

Fixed error “Not registered handle” on admin grid #11

Open Kashyap1999 opened 1 year ago

Kashyap1999 commented 1 year ago

Description

Admin grid breaks and getting Error "Not registered handle" with the Exception. When we try to edit the page using page builder and try to insert image using html code, not registered handle Error will appear on display. This error also appears on custom grids. This Issue appears because the collection argument types are placed into area-specific file etc/adminhtml/di.xml, Magento used collection arguments at the global level etc/di.xml. The area-specific file overrides the global value. It can lead to problems for other grids.

Error screenshot image

Fixed Issues

Fixed: Getting Error “Not registered handle” on Grid #10

Manual testing scenarios

  1. Get the Magento clean shop.
  2. Install Icecat_DataFeed module.
  3. Navigate to the Content > Elements > Pages.
  4. Edit any page (ex. Home page).
  5. Go to content and edit the page builder. Add HTML code element. Click on the insert image button. It throws an error as mentioned.