Announcement

Collapse
No announcement yet.

How to overwrite custom controllers in client folder?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to overwrite custom controllers in client folder?

    Previously in version 5.5.6 or before

    controllers in clientDefs as
    Code:
    {
        "controllers": "custom:controllers/some-entity"
    }
    used to load client/custom/src/controlllers/some-entity.js

    Now it's not working! Is there any change in 5.6.0 in this?

  • #2
    It it was not working EspoCRM wouldn't work at all.

    Why not to check existing clientDefs, like: https://github.com/espocrm/espocrm/b.../Email.json#L2

    Comment


    • #3
      It was working in the previous version and I have ensured that it is working in previous version. In the current version it is not working

      Comment


      • #4
        > In the current version it is not working.

        It's working. You need to rename action methods in controller:

        name => actionName

        Comment

        Working...
        X