django-cms / djangocms-alias

Other
8 stars 23 forks source link

Language issue #168

Closed marksweb closed 1 year ago

marksweb commented 1 year ago

Looks like the recently language changes have left a null value in a non-null field.

NotNullViolation: null value in column "language" violates not-null constraint
DETAIL:  Failing row contains (55, my_alias, null, 1).

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
IntegrityError: null value in column "language" violates not-null constraint
DETAIL:  Failing row contains (55, my_alias, null, 1).

And the insert triggering this is;

INSERT INTO "djangocms_alias_aliascontent" ("alias_id", "name", "language") VALUES (%s, %s, %s) RETURNING "djangocms_alias_aliascontent"."id"

The issue which these changes addressed is #162

fsbraun commented 1 year ago

@marksweb Pls. take a look at #169