ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 1 year, 8 months ago.

  • Creator
    Topic
  • #17260

    lapino
    Participant

    Hi,

    I’m trying to create a select form type to list all values from an entity but i got an error :

    When I dump the $config parameter in SearchHandler::initSearchIndexer before error thrown I don’t see the ‘Bga\Bundle\SalesBundle\Entity\ActivityCategory’ key that is the entity I’m trying to retrieve.

    Am I missing something ?

    First in workflow transition :

    Form type in Bundle/Form/Type/ActivityCategorySelectType.php :

    And finally serach handler and form type services :
    In form.yml :

    And in services.yml :

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #17262
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello.

    Please, make sure that your entity is included in search index – default search handler uses search index to get list of an entities.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.