Cannot import if the layer name equals the native name

Description

I have a postgis table "metopa_histogram" that I exposed as a layer named "metopa_histogram".
I'm trying to use the importer to insert a new row in that table, so I'm changing the automatically created task as follow:

But the import will fail with the following error:

If I create a new layer with a different name, and try the import on that, it works.

Environment

None

Assignee

Unassigned

Reporter

Gnafu

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure