View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004196||Expressions||Bug||public||2019-11-18 20:00||2020-01-01 17:47|
|Summary||0004196: Expression parser does not allow "/" after first member|
|Description||If someone try to enter eg. 12/2 in any field for X, Y, Z, constrain in sketcher, parser will not allow to type "/" sign just after first member in expression. All other operations works as expected.|
Everything works OK if entered as formula.
Issue is described in
|Steps To Reproduce||Try to change X, Y or Z position of eg. body with|
12/2 - does not work
(12)/2 - does not work
0+12/2 - works
|FreeCAD Information||OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)|
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18753 (Git)
Build type: Release
Python version: 3.7.4
Qt version: 5.13.2
Coin version: 4.0.0a
OCC version: 7.4.0
Locale: English/United States (en_US)
@babaroga : thanks for reporting. However please notice that per our guidelines (big yellow banner) you should have open a topic in our forum before reporting.
Though your report is correctly filled in, bug can be confirmed and seems unknown up to now, we'll keep this ticket as is without further request to post to forum. ;)
@openBrain It was reported in forums on
Somehow, link is not visible in my first post.
@babaroga :there was no text in the url tag in the description. I fixed it. ;)
Could you edit the title of the forum thread and prepend "[Bug 4196]" to it (thread title is actually OP title)? Thx
||Moved to 'Expressions' category|
The reported bug is not caused by FreeCAD-Expressions. Expressions are used in the dialog reachable via the blue "fx"-symbol: This dialog is not affected by the bug here and behaves different and uses different code.
The bug is related to the input field of the Gui, which uses a different parser. The formula typed in the input field is gone after its calculation.
Both usages uses "expressions" but are coded in different areas of FreeCAD.
||@ulrich1a : would you be able to give a pointer to involved parser code in GitHub ?|
|2019-11-18 20:00||babaroga||New Issue|
|2019-11-22 16:46||openBrain||Tag Attached: expressions|
|2019-11-22 16:46||openBrain||Status||new => confirmed|
|2019-11-22 16:49||openBrain||Note Added: 0013830|
|2019-11-22 16:55||babaroga||Note Added: 0013833|
|2019-11-22 16:57||babaroga||Note Edited: 0013833||View Revisions|
|2019-11-22 17:20||openBrain||Description Updated||View Revisions|
|2019-11-22 17:23||openBrain||Note Added: 0013835|
|2019-11-28 12:51||Kunda1||Project||FreeCAD => Expressions|
|2019-11-28 12:52||Kunda1||Note Added: 0013849|
|2019-11-28 12:52||Kunda1||Target Version||=> 0.19|
|2019-12-06 10:48||openBrain||Relationship added||has duplicate 0004218|
|2019-12-31 16:07||ulrich1a||Note Added: 0013964|
|2019-12-31 16:08||ulrich1a||Note Edited: 0013964||View Revisions|
|2020-01-01 17:47||openBrain||Note Added: 0013965|