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

Remove unneeded, also mistyped, saveHandler from CatalogSearch indexer declaration #11626

Conversation

adrian-martinez-interactiv4
Copy link
Contributor

@adrian-martinez-interactiv4 adrian-martinez-interactiv4 commented Oct 22, 2017

Remove unneeded, also mistyped, saveHandler from CatalogSearch indexer declaration.

Description

This PR removes unneeded from Magento/CatalogSearch/etc/indexer.xml:
captura de pantalla 2017-10-22 a las 3 21 29

It's not used, and it is mistyped: no such class Magento\CatalogSearch\Model\Indexer\IndexHandler exists; it refers instead to Magento\CatalogSearch\Model\Indexer\IndexerHandler. Even it is mistyped, it works due to Magento\CatalogSearch\Model\Indexer\IndexerHandlerFactoryhandling the save handlers, and correct class name is injected into IndexerHandlerFactory via Magento/CatalogSearch/etc/di.xml:
captura de pantalla 2017-10-22 a las 3 27 03

Fixed Issues (if relevant)

None. This is a little improvement for this file, to remove that misleading saveHandler declaration, and since it's not really a problem, it makes no sense to backport it.

Manual testing scenarios

After removing that line, everything should work as before.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@orlangur orlangur self-assigned this Oct 26, 2017
@okorshenko okorshenko self-assigned this Oct 31, 2017
@okorshenko okorshenko added this to the October 2017 milestone Oct 31, 2017
@okorshenko okorshenko modified the milestones: October 2017, November 2017 Nov 1, 2017
@magento-team magento-team merged commit ef496a2 into magento:2.3-develop Nov 2, 2017
magento-team pushed a commit that referenced this pull request Nov 2, 2017
magento-team pushed a commit that referenced this pull request Nov 2, 2017
[EngCom] Public Pull Requests - develop
 - MAGETWO-83154: [2.3-develop] Order grid - Sort by Purchase Date Desc by default #11931
 - MAGETWO-83101: [Backport 2.3-develop] #8236 FIX CMS blocks #11805
 - MAGETWO-83092: Remove unneeded, also mistyped, saveHandler from CatalogSearch indexer declaration #11626
 - MAGETWO-83091: Remove "Undefined fields" from under lib folder #11662
 - MAGETWO-83083: 10195: Order relation child is not set during edit operation #11909
 - MAGETWO-82998: [2.3-develop] X-Magento-Tags header containing whitespaces causes exception #11849
 - MAGETWO-82633: #11409: Too many password reset requests even when disabled in settings #11434
@adrian-martinez-interactiv4 adrian-martinez-interactiv4 deleted the FR#CATALOGSEARCH-INDEX-REMOVE-UNNEEDED-SAVEHANDLER branch November 2, 2017 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants