magento2-store-locator-stockists-extension icon indicating copy to clipboard operation
magento2-store-locator-stockists-extension copied to clipboard

Error when saving from listing screen

Open bryanjswift opened this issue 6 years ago • 1 comments

I'm not sure if this is an error because I'm using Enterprise Edition but when saving a stockist from the listing screen (InlineEdit) I'm getting an error generated by the call to Limesharp\Stockists\Controller\Adminhtml\Stores::filterData. The \Zend_Filter_Input constructor is expecting $filterRules and then $validatorRules and then $data but it looks like the current method is only passing $filterRules and then the store's data is going as $validatorRules.

https://github.com/ClaudiuCreanga/magento2-store-locator-stockists-extension/blob/8bf464f7f380d74c7e0c3f4f9226eb2aa4774d26/src/Controller/Adminhtml/Stores.php#L88-L97

This method appears to only be called from the InlineEdit controller and not within the Save controller.

bryanjswift avatar Aug 29 '17 18:08 bryanjswift

Thanks for reporting. One of my updates have broken that functionality as it was working in the previous versions. I'll have to dig out what happened but I suspect it is missing an empty array [] as the first parameter...

ClaudiuCreanga avatar Aug 31 '17 15:08 ClaudiuCreanga