View Issue Details

IDProjectCategoryView StatusLast Update
0003376PartDesignBugpublic2018-03-15 10:14
ReporternormandcAssigned Towmayer 
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:
[quote=Exception]type must be list of 'DocumentObject', not NoneType[/quote]
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[list=1]
[*]Open attached weird-buggy-boolean.fcstd file.
[*]Double-click on Body.
[*]Click on "Boolean operation with one or more bodies".
[*]Error message appears. Click OK.
[*]An empty Boolean feature is created in the Body tree.
Additional Information

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.



2018-03-15 01:13


weird-buggy-boolean.fcstd (17,369 bytes)


2018-03-15 10:14

administrator   ~0011043

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 View Revisions
2018-03-15 01:17 normandc Additional Information Updated View Revisions
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