Foreign field on a checkbox is always true/checked

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • huscmk
    Junior Member
    • Feb 2017
    • 17

    Foreign field on a checkbox is always true/checked

    Hi,

    Could it be that when we create a field of type foreign (entity A) and map it to a checkbox field of a linked entity (entity B), the foreign field (entity A) is always checked no matter what is the value of the linked entity's field (entity B) ?

    It seems to behave that way in my installation, I run version 5.5.5

    Regards,
  • yuri
    Member
    • Mar 2014
    • 8501

    #2
    Hello,

    I will take a look. Thanks for reporting.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • tothewine
      Active Community Member
      • Jan 2018
      • 373

      #3
      Hello I am experiencing this, too in 5.5.5. Tough, I noticed that the boolean data is in numeric (0 or 1) format for foreign keys, where for normal fields is 'true' or 'false'. Maybe the problem is in the ajax handler that needs to understand zero as false?

      Comment

      • yuri
        Member
        • Mar 2014
        • 8501

        #4
        Fixed: https://github.com/espocrm/espocrm/issues/1210
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...