[Kst] [Bug 250014] New: KST Equations are KO when using vector/mean if the vector name contains special characters, it generates constant value of 0

Grégoire Verlut gregoire.verlut at eurocopter.com
Fri Sep 3 14:33:32 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=250014

           Summary: KST Equations are KO when using vector/mean if the
                    vector name contains special characters, it generates
                    constant value of 0
           Product: kst
           Version: 2.0.1
          Platform: Compiled Sources
        OS/Version: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: equations
        AssignedTo: kst at kde.org
        ReportedBy: gregoire.verlut at eurocopter.com


Version:           2.0.1
OS:                MS Windows

I try to create an equation object from the data manager. I entered the
expression, in my case a constant expression: [WGS84 Altitude [m]:Mean (X149)]
and the generated y vector contains only 0 value.

However when viewing the scalars : Data > View Scalars... I can see the value
of
[WGS84 Altitude [m]:Mean (X149)]

I guess it comes from the "[m]" which is not escaped

Reproducible: Always

Steps to Reproduce:
just use a vector which name contains '[' or ']'

Actual Results:  
the equation expression is not stored and the generated y vector contains 0

Expected Results:  
the equation should have been stored in kst and the generated y vector should
contain the computed value

OS: Windows 32-Bit

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list