file submit error

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
jar
Posts: 97
Joined: Mon Apr 20, 2015 8:55 am

file submit error

Post by jar » Fri Apr 12, 2019 6:03 pm

Hi,

I created record that has the ability to upload a file. I have 2 errors.

1st - If I submit a not allowed type of file, Cyclos shows an error message saying that that kind of file is not possible to upload and that the type of files that can be uploaded are... and it doesn't tell to user what kind of files can be uploaded. See attached image, please.
Erro tipo de ficheiro em registos de utilizador Cyclos.jpg
Erro tipo de ficheiro em registos de utilizador Cyclos.jpg (55.8 KiB) Viewed 522 times
2nd - I don't know how to specify Cyclos to allow a csv file. I selected other type of mime files and specified csv, but it doesn't allow to upload the csv file. I also tried to specify csv file as text/csv and also failed.
Como definir ficheiro csv.jpg
Como definir ficheiro csv.jpg (51.9 KiB) Viewed 519 times
Thanks for your help.
Thanks for your kind attention.
Best regards,

JAR

alexandre
Posts: 837
Joined: Wed Sep 06, 2006 9:06 am

Re: file submit error

Post by alexandre » Sat Apr 13, 2019 7:20 pm

Hi,

What version of cyclos you are runing?
Alexandre Caurrinhos
Cyclos development team.

jar
Posts: 97
Joined: Mon Apr 20, 2015 8:55 am

Re: file submit error

Post by jar » Sat Apr 13, 2019 9:32 pm

4.11.2
Thanks for your kind attention.
Best regards,

JAR

admin
Site Admin
Posts: 1413
Joined: Mon Jan 24, 2005 10:31 am

Re: file submit error

Post by admin » Mon Apr 15, 2019 7:54 am

About the first issue. This must be a language /translation issue. Make sure the key is translated.
The second issue. The mime type is correct (text/csv)
We need to be able to reproduce it in order to investigate. could you create a community at communities.cyclos.org and reproduce it there?
Thanks,

jar
Posts: 97
Joined: Mon Apr 20, 2015 8:55 am

Re: file submit error

Post by jar » Mon Apr 15, 2019 1:09 pm

Hi,

The 1st issue was a translation issue. It should be like this: O tipo de ficheiro selecionado não é aceite. Tipos aceites são: {1} and it was like this: O tipo de ficheiro selecionado não é aceite. Tipos aceites são: {0}
Thanks for your kind attention.
Best regards,

JAR

jar
Posts: 97
Joined: Mon Apr 20, 2015 8:55 am

Re: file submit error

Post by jar » Mon Apr 15, 2019 2:54 pm

I created in https://test.cyclos.org.
Maintest is the network.

I tried to upload a csv file and the same error occurred.
Thanks for your kind attention.
Best regards,

JAR

alexandre
Posts: 837
Joined: Wed Sep 06, 2006 9:06 am

Re: file submit error

Post by alexandre » Mon Apr 15, 2019 4:38 pm

Hi,

I uploaded a csv at your record and works fine.
Maybe it's a problem with your file.
Can you send it to us, so we can investigate a bit more.
Send to info@cyclos.org

Regards
Alexandre Caurrinhos
Cyclos development team.

alexandre
Posts: 837
Joined: Wed Sep 06, 2006 9:06 am

Re: file submit error

Post by alexandre » Wed Apr 17, 2019 2:58 pm

Hi,

I reproduce the problem. It happens only on windows machines.
It will be fixed asap.

regards
Alexandre Caurrinhos
Cyclos development team.

Post Reply