View Issue Details

IDProjectCategoryView StatusLast Update
0003376PartDesignBugpublic2018-03-15 10:14
Reporternormandc Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.17 
Target Version0.17Fixed in Version0.17 
Summary0003376: PartDesign Boolean produces exception with wrong selection of active Body
DescriptionIf the active Body is selected before launching the Boolean operation tool, an exception message appears:

type must be list of 'DocumentObject', not NoneType

Exception
When clicking OK' the command exits, but an empty Boolean feature is created in the Body tree and set as tip. As a consequence, the Body is broken with an empty tip error.

The problem is that both methods for activating a Body (right-click or double-click) leave it selected.

There should be a check for invalid selection and a message to warn the end user that the active body should be deselected before launching the tool.

Or, activating a Body should automatically deselect it? I don't think there is a good reason to leave it selected.
Steps To Reproduce
  1. Open attached weird-buggy-boolean.fcstd file.
  2. Double-click on Body.
  3. Click on "Boolean operation with one or more bodies".
  4. Error message appears. Click OK.
  5. An empty Boolean feature is created in the Body tree.
Additional Informationhttps://forum.freecadweb.org/viewtopic.php?f=3&t=27476&p=220949#p220949

OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13407 (Git)
Build type: None
Branch: master
Hash: 2c2d781aa686b731f2a0e754dc30ebb76f3553e0
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: French/Canada (fr_CA)
TagsNo tags attached.
FreeCAD Information

Activities

Issue History

Date Modified Username Field Change
2018-03-15 01:13 normandc New Issue
2018-03-15 01:13 normandc File Added: weird-buggy-boolean.fcstd
2018-03-15 01:17 normandc Description Updated
2018-03-15 01:17 normandc Additional Information Updated
2018-03-15 10:14 wmayer Assigned To => wmayer
2018-03-15 10:14 wmayer Status new => closed
2018-03-15 10:14 wmayer Resolution open => fixed
2018-03-15 10:14 wmayer Fixed in Version => 0.17
2018-03-15 10:14 wmayer Note Added: 0011043