Announcement

Collapse
No announcement yet.

Checking foreign entity ID

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

  • dimyy
    replied
    For which one? For link field?

    Leave a comment:


  • yuri
    replied
    My mistake. I though it's a validation error. I'm not sure what to do with this. We have strings for IDs statically hinted in lot of places, adding support of int would be an effort. I don't consider it as a bug.

    Leave a comment:


  • yuri
    replied
    You can override validatorClassName for the field in entityDefs.

    Leave a comment:


  • dimyy
    started a topic Checking foreign entity ID

    Checking foreign entity ID

    We have old entities with id like integer (149 for example)

    When we try update related entities we got error: Bad 'foreign' value.

    https://github.com/espocrm/espocrm/b...itory.php#L501

    Two versions:
    1. Incorrect id checking
    2. Incorrect data transfer from front: id transferred as integer not as string
    Click image for larger version

Name:	Screenshot_76.png
Views:	78
Size:	9.7 KB
ID:	83231
Working...
X