Exercise/FOQElasticaBundle — Issue #81: Getting an undefined index error using the finder
Author: daFish
Created: 2012-03-08 12:32:03+00:00
State: open

I indexed my entities and used the finder to search across all of my types. But I only got the following exception:

```php
Notice: Undefined index: -33 in /opt/local/apache2/htdocs/fmdb/vendor/exercise/elastica-bundle/FOQ/ElasticaBundle/Transformer/ElasticaToModelTransformerCollection.php line 55
```

Some debugging revealed that the class map used in ElasticaToModelTransformerCollection.php showed that all entity classes except one point to the entities. The class in question points to the proxy which seems to be wrong.

This worked in a previous version of the bundle but I can't tell exactly when the error occured.