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 Mike Kudelya Mike Kudelya 12 months ago.

  • Creator
    Topic
  • #24296
    Stepan Yudin
    Stepan Yudin
    Participant

    Hi everyone!

    Today i faced an interesting issue. I need to override Role validation (role label length constraint). So, i created new validation rules and placed em in specific validation group. Now i need to apply this validation group to AclRoleType form.

    Here is a form extension code:

    And registered this extension:

    But it is not works. I tried to use this extension for UserType form – and everything was ok.
    Can you tell me why this happens? And what im doing wrong.

    Thank you!


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #24352
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    I think your RoleExtension didn’t execute because role form doesn’t contain service. I have tried your case too.

    Try to override AclRoleType

    and AclRoleHandler:

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.