Announcement

Collapse
No announcement yet.

Enum Options Ignored in API

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

  • Enum Options Ignored in API

    I added a Status field of type Enum to the Account entity with two options: "active" and "paused". I am able to create an account through the API that has a value outside of those options and it gets saved on the entity. For example, I passed "test" and that value shows up in the UI even though it's not in the drop-down options.

    As with another issue I recently reported (http://forum.espocrm.com/forum/featu...lid-attributes) this is forcing me to recreate the entity model in my code that accesses the API just to workaround the lack of enforcement of the model in the API itself.

    I am using EspoCRM 5.0.1.

    Thanks for your help.


  • #2
    I think in future we will implement a check. It's not a critical issue.

    Comment

    Working...
    X