ssossossosso

Forums

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

This topic contains 3 replies, has 4 voices, and was last updated by wwsh wwsh 1 year, 4 months ago.

  • Creator
    Topic
  • #17472

    cardiac
    Participant

    Hi all,

    since the TagBundle changed in 1.9 completely, I don’t get how to add tagging to a form.

    If I add oro_tag_select, I get an error:

    ConfigProvider::getClassName expects Object, PersistentCollection, array of entities or string. “NULL” given
    500 Internal Server Error – RuntimeException

    How can I add tags to a form for an entity?

    Best regards

    PS:
    – Why have you removed TagAutocompleteType?
    – Why have you removed Tagging from the forms?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #17473
    Artem Liubeznyi
    Artem Liubeznyi
    Oro Core

    Hi,

    Currently there is no way to add tags to forms. We had to remove this part of functionality when we re-developed them so the feature could have been completed in time for the release.

    We will reinstall the ability to manipulate tags on forms in the future though.

    #17482
    Dima Soroka
    Dima Soroka
    Oro Core

    Just for future reference, all backward incompatible changes are described in the UPGRADE-x.x.md files with additional upgrade instructions.

    #18243
    wwsh
    wwsh
    Participant

    It turns out that in order for the latest implementation of Tags to run with your entity, you have to have it configured (@Config), ownership has to be set and tag enabled. See a working example here:

    https://github.com/orocrm/crm/blob/master/src/OroCRM/Bundle/AccountBundle/Entity/Account.php

    There is nothing more required – tags should auto-appear as long as you’re using the default macros for the view page.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.