Difference in startup arguments in 2023.03.3 LST and 2023.09

Forum to discuss the new web client version of Servoy.

Difference in startup arguments in 2023.03.3 LST and 2023.09

Postby bodnarescu.diana » Mon Oct 09, 2023 1:50 pm

Hello,

In 2023.03.3 LTS the startup arguments are in application.getStartupArguments()[1]
2023.03.3.LTS.png

In 2023.09.0, they are in application.getStartupArguments()[0]:
2023.09.0.png


I could not find this in the release notes, is this a lasting change?

Thank you,
Diana
You do not have the required permissions to view the files attached to this post.
Diana Bodnarescu
Servoy Valued Professional
Freelance Servoy Developer
bodnarescu.diana
 
Posts: 25
Joined: Tue Mar 29, 2016 10:43 am

Re: Difference in startup arguments in 2023.03.3 LST and 202

Postby mboegem » Mon Oct 09, 2023 3:11 pm

Hi Diana,

during ServoyCamp I've noticed the same.
Haven't had time to have a closer look as Johan tried the same and wasn't experiencing this.

I guess, to be continued...
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1752
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Difference in startup arguments in 2023.03.3 LST and 202

Postby jcompagner » Mon Oct 09, 2023 3:34 pm

are we talking here purely for getStartupArguments? what i also tested was the onsolutionopen(args)

that seems to be fine for me
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Difference in startup arguments in 2023.03.3 LST and 202

Postby jcompagner » Mon Oct 09, 2023 3:59 pm

i think i know why i didn't get this

i was testing with an "a" variable in the url

it oculd be that it is broken when you don't do that at all.. (so no "a" variable")
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Difference in startup arguments in 2023.03.3 LST and 202

Postby bodnarescu.diana » Mon Oct 09, 2023 4:25 pm

Thank you Marc, Johan,

Indeed if I add, in 2023.09.0, an empty "a" argument in the URL, i get the empty string in application.getStartupArguments()[0] and my other arguments in the application.getStartupArguments()[1]:
2029.09.0_with_empty_a.png

If I don't add it, my arguments are in application.getStartupArguments()[0] as seen in my initial post.

In 2023.03.3 LTS, if you don't add the "a" parameter in the URL, you get it anyway, as null, in application.getStartupArguments()[0], and the rest of your arguments you will get in application.getStartupArguments()[1].

I would like to know if this 2029.09.0 is a lasting change, or you will revert to the behavior of the 2023.03.3 LTS.

Many thanks,
Diana
You do not have the required permissions to view the files attached to this post.
Diana Bodnarescu
Servoy Valued Professional
Freelance Servoy Developer
bodnarescu.diana
 
Posts: 25
Joined: Tue Mar 29, 2016 10:43 am


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 27 guests