Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when saving from listing screen #19

Open
bryanjswift opened this issue Aug 29, 2017 · 1 comment
Open

Error when saving from listing screen #19

bryanjswift opened this issue Aug 29, 2017 · 1 comment
Labels

Comments

@bryanjswift
Copy link

bryanjswift commented Aug 29, 2017

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.

@ClaudiuCreanga
Copy link
Collaborator

ClaudiuCreanga commented Aug 31, 2017

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...

@ghost ghost mentioned this issue Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants