View Issue Details

IDProjectCategoryView StatusLast Update
0003245FreeCADBugpublic2017-11-16 20:46
Reporterpaullee Assigned Toeivindkvedalen  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.17 
Fixed in Version0.17 
Summary0003245: BUG: Sketcher + Expression Engine - Expressions in Constraints get 'over-deleted'
DescriptionReported in forum as
https://forum.freecadweb.org/viewtopic.php?f=3&t=25104

The following actions results in slightly different bug results (see videos attached in original discussion forum post)

Example sketch + expressions

  • 3 edges in a sketch

  • each edge has - 4 constraints & 4 Expressions Formulas

  • total 12 expressions in 12 constraints

Steps To ReproduceSteps to produce bug

  • Deleting 1 edge - w/ 4 constraints & 4 Expression Formulas
  1. Deleting 2nd edge - constraints 5~8 & 4 Expressions
  2. Original 3rd edge become 2nd edge... etc. -ok
  3. Result: - 3rd edge's (now is 2nd edge) 4 expressions in 4 constraints got deleted also - Should not be deleted


  • Deleting directly 4 selected constraints w/ 4 Expressions

  1. Select 2nd edge's - constraints 5~8 w/ 4 Expressions
  2. Delete the 4 constraints 5~8 (w/ 4 Expressions)
  3. Result: - 3rd edge's 1st expressions (out of 4) got deleted - Should not be deleted
Additional InformationReported in forum as
https://forum.freecadweb.org/viewtopic.php?f=3&t=25104

Videos provided in forum post
TagsNo tags attached.
FreeCAD Information

Activities

eivindkvedalen

2017-11-06 19:20

developer   ~0010393

Please test my branch at https://github.com/eivindkv/FreeCAD/tree/Fix_issue_3245 to see if this resolves your issue.

paullee

2017-11-09 16:39

developer   ~0010400

Hi, i haven't learnt compiling.

Anybody can test?

Thanks.

wmayer

2017-11-16 20:46

administrator   ~0010421

https://github.com/FreeCAD/FreeCAD/commit/36301ff67b6e165bddbabe5b63be0d90dd296cde

Issue History

Date Modified Username Field Change
2017-11-06 17:46 paullee New Issue
2017-11-06 18:27 eivindkvedalen Assigned To => eivindkvedalen
2017-11-06 18:27 eivindkvedalen Status new => assigned
2017-11-06 19:20 eivindkvedalen Note Added: 0010393
2017-11-09 16:39 paullee Note Added: 0010400
2017-11-16 20:46 wmayer Status assigned => closed
2017-11-16 20:46 wmayer Resolution open => fixed
2017-11-16 20:46 wmayer Fixed in Version => 0.17
2017-11-16 20:46 wmayer Note Added: 0010421