Problem using a numerical box combo variable with decimals in GX Ev3 u11

Asked

Viewed 127 times

0

I identified a bug when using a numeric combo box variable with decimals in GX Ev3. In Ev1 and Ev2 versions the same example works perfectly.

I am not good at writing, but I will try to describe the problem. If someone does not understand I try again!

Anyone who can help me do the following:

1 - Create a Numeric(7.2) type variable in the Webform in a Webpanel.

2 - On the screen set it as a combo box with whole or broken values:

Example:

&CASA_DECIMAL.AddItem(100, "100%")
&CASA_DECIMAL.AddItem(75, "75%")
&CASA_DECIMAL.AddItem(50.00, "50%")
&CASA_DECIMAL.AddItem(40.00, "40%")
&CASA_DECIMAL.AddItem(35.15, "35,15%")

3 - Create an Enter event or any other to "print" the value of the example variable.

3.1 - For example, when selecting the 75% option and "printing" the value through the event, the value changes to 7500.00, instead of 75.00.

Examples:

&CASA_DECIMAL.ToFormattedString()  //- O resultado de 75%, é : 7500,00
&CASA_DECIMAL.ToString() // - O resultado de 75%, é: 7500.00.

I am using Genexus Ev3(update 11), generating Java with JDK 1.8.0_101.

This problem only happens when the variable is a combo box. When it is an Edit input, the value is correctly printed.

  • Gustavo, if you think it’s a bug, you should report support...

  • I reported Marcos, but I haven’t gotten the feedback yet. I will post here the solution if you answer me. While not sure, would like to get other opinions of other developers genexus evo 3. Thanks!

  • What is the IT number? And when you reported to support?

  • Paulo, I passed on the problem yesterday to manage the project I participate in. I will request the IT number if it has already been reported. When receive I put here also Paul. Have any idea what might be causing the problem?

  • Yes, I do. It’s a bug that occurs in ev2, ev2 and v15 when using the language gives KB different than English. Probably where it works is with English and where it doesn’t work is with Portuguese. It is easier for you to join with the call yourself, but I did not find any user with your name on our system.

  • Well Paulo, I did the same test on Ev1 U5, Ev2 U3, and the problem doesn’t happen, only on the version of Ev3 I’m using: Ev3 u11.

  • I get it. When your management opens the incident, ask them to send together all this data and the Xpz from the test you did. Because I have different results from yours. We will continue IT powder

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.