Servoy 2021.12.0

Servoy announcements

Re: Servoy 2021.12.0

Postby jcompagner » Thu Jan 06, 2022 10:53 am

I guess that is because of the new TUS protocol use in the Uppy plugin we use for file upload.
The thing is it seems to work in NG2 but not in NG1 so i think we mis some setting/configuration in the ng1 multi file upload component
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8622
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2021.12.0

Postby steve1376656734 » Thu Jan 06, 2022 11:41 am

Should I log tickets for both these issues?
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 272
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2021.12.0

Postby jcompagner » Thu Jan 06, 2022 12:09 pm

i fixed the MultiFileUpload problem in NG1: https://support.servoy.com/browse/SVY-16772
was a bit tricky to find, but yes in NG1 we did a initialization for something property (Tus) that shouldnt be done (and what we didn't do in NG2 impl). That was causing an extra filter over the metaData fields which shouldn't happen.

This is purely in the ServoyExtraComponents webpackage. so i will make a release for this in the next week.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8622
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2021.12.0

Postby steve1376656734 » Thu Jan 06, 2022 12:31 pm

That's great news thanks Johan.
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 272
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2021.12.0

Postby jcompagner » Thu Jan 06, 2022 12:34 pm

the JWT thing was a regression of a case: https://support.servoy.com/browse/SVY-16615 so that one is used to have a look at that.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8622
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2021.12.0

Postby steve1376656734 » Thu Jan 06, 2022 2:44 pm

Hi Johan,

We have another major issue with the MultiFileUpload component. If you deploy to a server context other than ROOT you cannot upload any files and you get the following error in the logs:
Code: Select all
2022-01-06 11:54   http-nio-8080-exec-861   WARN   me.desair.tus.server.TusFileUploadService   Unable to process request POST http://xxxxx.yyyyy.com/TSP/tus/upload/2/tspDocumentUpload__A0CCE91E_38C5_47D7_81F8_A0248E6D9BE2/mfUpload/onFileUploaded/. Sent response status 405 with message "POST requests have to be sent to '/tus/upload/[0-9]+/.+/.+/.+/'. "

It seems that the context element of the URL is messing up the check that the server is doing on the POST request.
If you deploy the same WAR file to a ROOT context then it works fine.

Thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 272
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Servoy 2021.12.0

Postby jcompagner » Thu Jan 06, 2022 4:20 pm

steve1376656734 wrote:We have another major issue with the MultiFileUpload component. If you deploy to a server context other than ROOT you cannot upload any files and you get the following error in the logs:
Code: Select all
2022-01-06 11:54   http-nio-8080-exec-861   WARN   me.desair.tus.server.TusFileUploadService   Unable to process request POST http://xxxxx.yyyyy.com/TSP/tus/upload/2/tspDocumentUpload__A0CCE91E_38C5_47D7_81F8_A0248E6D9BE2/mfUpload/onFileUploaded/. Sent response status 405 with message "POST requests have to be sent to '/tus/upload/[0-9]+/.+/.+/.+/'. "

It seems that the context element of the URL is messing up the check that the server is doing on the POST request.
If you deploy the same WAR file to a ROOT context then it works fine.


i think i already see a fix for that but need to test this first myself later today or tomorrow. (this is a core change so will only be in a next release or update.zip)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8622
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2021.12.0

Postby steve1376656734 » Thu Jan 06, 2022 5:40 pm

Hi Johan,

Can you let us know if the fix works and how we can get the update.zip please? Also can the update.zip be applied to the Servoy CCC pipeline?

Thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 272
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 0 guests