I'm trying to create a CSV data library, but CSV is not readden
Step to reproduce:
I've uploaded a CSV contains the following :
ADMIN_USER,ADMIN_PASSWORD
myuser,mypass
Then i've checked the flag "Generate Subdata list from First line of csv after saving
(only when checked and with file uploaded)" ,selected type=FILE-CSV, a country and a System (blank environment).
when I click on "SAVE", the page infinite loads with this image:
If i force reload, I can see the newly created datalibrary, but the SubData are not filled, and the download button shows "Object not found !!"
Also if I add the SUBDATA manually, I get an error (cerberus key subdata has no csv column position mapped...) during execution. This is a minimal test configuration:
Consideration:
If i use "INTERNAL" as data library type, the same code works.
if i create the datalibrary as CSV --> manually create a row in SUBDATA --> save it without marking "Generate Subdata list from First line of csv after saving" --> then reopening the data library, reupload the CSV and mark "Generate Subdata list from First line of csv after saving", it works.
I think that the generation of the first blank row in SUBDATA is missing during the automated fill.
Cerberus Version : 4.19-SNAPSHOT-1858, inside a docker container and MySQL v8
P.S: I've tryed both setting the delimiter to ',' than leaving it blank. I've tryed also with older version of snapshot (about 2 month ago)
Hi,
I'm trying to create a CSV data library, but CSV is not readden
Step to reproduce:
I've uploaded a CSV contains the following :
Then i've checked the flag "Generate Subdata list from First line of csv after saving (only when checked and with file uploaded)" ,selected type=FILE-CSV, a country and a System (blank environment).
when I click on "SAVE", the page infinite loads with this image:
If i force reload, I can see the newly created datalibrary, but the SubData are not filled, and the download button shows "Object not found !!"
Consideration:
Cerberus Version : 4.19-SNAPSHOT-1858, inside a docker container and MySQL v8
P.S: I've tryed both setting the delimiter to ',' than leaving it blank. I've tryed also with older version of snapshot (about 2 month ago)
thank you very much, Francesco