As this parent issue shows, currently, if point state is invalid, it will cause Drupal system error, which is not friendly to end users. This is because, the current validation implementation is custom, and there is no way for the referencing entity form to react to this exception. By switching to the D8 validation API, (inline) entity form should be able to handle from there.

Comments

skyredwang created an issue. See original summary.

  • skyredwang committed fcea18c on 8.x-1.x
    Issue #2897780 by skyredwang: Use the entity validation API to handle...
skyredwang’s picture

Status: Active » Needs review
skyredwang’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.