jvalue / ods

Open Data Service - Make consuming open data easy, safe, and reliable
GNU Affero General Public License v3.0
36 stars 23 forks source link

[BUG] Failed to create new Datasource #365

Closed knusperkrone closed 3 years ago

knusperkrone commented 3 years ago

I now get the following stacktrace, when trying to create a new Datasource in:

DatasourceCreate.vue:80:30
Failed to create datasource Error: Request failed with status code 400
    exports createError.js:16
    exports settle.js:17
    onreadystatechange xhr.js:62
    exports xhr.js:37
    exports xhr.js:13
    exports dispatchRequest.js:52
    promise callback*0a06/l.prototype.request Axios.js:61
    e Axios.js:87
    exports bind.js:9
    e datasourceRest.ts:48
    u runtime.js:63
    k runtime.js:293
    S runtime.js:118
    Babel 4
    Vt datasourceRest.ts:44
    value DatasourceCreate.vue:78
    click DatasourceCreate.vue:1
    VueJS 4
    click vuetify.js:2567
    VueJS 33
DatasourceCreate.vue:80:30
    value DatasourceCreate.vue:80
    (Async: promise callback)
    value DatasourceCreate.vue:78
    click DatasourceCreate.vue:1
    VueJS 4
    click vuetify.js:2567
    VueJS 33

The Server response says:

Id is defined by the server. Id field must not be set.
knusperkrone commented 3 years ago

@georg-schwarz

georg-schwarz commented 3 years ago

The id is sent which should not be the case. Will fix it tomorrow. Thx for the report!