1. ENRICO MENEGOTTO
  2. .NET DataStore
  3. Monday, 23 May 2022 16:41 PM UTC

Hi all

we found a problem during dataconvertion using Snapdevelop to migrate an existing NVO from PB.

There the sample to reproduce the bug

POWERBUILDER SYNTAX

 

ls_risultato = lds_eval.describe ( 'evaluate( " ' + testo_formula + ' ")' )

When testo_formula is   if(1=1,2.1,3.1) powerbuilder returns 2.1

 

SNAPDEVELOP SYNTAX 

risultato = lds_eval.Evaluate<String>("String(" + testoFormula + ")");

When testo_formula is   if(1=1,2.1,3.1) snapdevelop returns 21 (the decimal separator is lost)

 

Is this a bug in the internal.NET datastore implementation of Evaluate?

Thanks in advance.

BYE ::)

Enrico Menegotto

CSTEAM - Italy

ENRICO MENEGOTTO Accepted Answer Pending Moderation
  1. Thursday, 26 May 2022 10:09 AM UTC
  2. .NET DataStore
  3. # 1

Hello all,

testcase attached to bug #8416.

https://www.appeon.com/standardsupport/track/view?id=8416

Thanks for the support.

Best,

Enrico.

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 23 May 2022 17:02 PM UTC
  2. .NET DataStore
  3. # 2

Hi Enrico,

Might be a good idea to submit a Support Ticket and submit a sample test case to quickly find out what the problem might be.

Regards,
Francisco

Comment
  1. Logan Liu @Appeon
  2. Tuesday, 24 May 2022 10:15 AM UTC
Hi Enrico, I also tried it in PowerScript.Bridge 1.0.5 but failed to reproduce this DataStore.Evaluate method issue. Please help submit your test case via a support ticket.

Regards, Logan
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.