Can't update a relation of a record with null value

Hello, the problem is simple: I can’t update a record to set a relation as null.

Record: https://youtu.be/SUoNpLbDD_M

  "meta": {
    "database_type": "postgres",
    "liana": "forest-express-sequelize",
    "liana_version": "6.7.4",
    "engine": "nodejs",
    "engine_version": "15.5.0",
    "orm_version": "5.15.2"
  }

Every entities with a relation I have, I can’t set the relation to null.

How can I achieve that ?

Hello @alexis,

Thank you for your feedback. I could reproduce your issue, it seems to be a regression introduced with forest-express-sequelize@6.7.2 as the version 6.7.1 appears to work as expected.

Can you test with the version 6.7.1 on your side?

I’m creating an issue in our bugtracking system in order to fix this issue. In the meantime you can try to downgrade to version 6.7.1 if the issue is critical for you.

Here is the issue on our bugtracking system:

We will keep you posted about this bug.

Hello again @alexis ,

We released a new version of forest-express-sequelize fixing your issue. Can you try with the version 6.7.5 and confirm that it’s working as expected?

1 Like