View Issue Details

IDProjectCategoryView StatusLast Update
0001251AssemblyBugpublic2015-02-03 16:11
Reporterproject4 Assigned Toickby  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versiontrunk 
Summary0001251: Deleting the product node in the model tree cause havoc
DescriptionWhen moving to assembly workbench, the model tree automatically creates structure of:
Application => Assembly1 => Product

Deleting the Product entry and after that move to the PartsDesign workbench cause the application to crash or behave strangely.

I think that evrey workbench should somehow determine what it relevant for it and what is not.

I think it's related to the same issue, if not, will open another bug entry, but when trying to open the fcstd file saved with assembly on the PartsDesigner workbench, it also crashes.
Additional Informationwhen not deleting the "product" entry and moving to the PartsDesigner, I see that more nodes are added to the model: "Origin" folder, "Body" object and "NonBodyFeatures" folder where the assembly's "product" is moved to.

As I wrote, I think that "Assembly" tree should not be touched by the PartsDesigned workbench, it should create it's own tree model under "Application".

I'm on latest assembly stream.

OS: Ubuntu 13.04
Platform: 64-bit
Version: 0.14.2654 (Git)
Branch: jriegel/dev-assembly
Hash: 3d4dd4f64f24255dbaec25767cff7b74bb98fc6d
Python version: 2.7.4
Qt version: 4.8.4
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.0
TagsNo tags attached.
FreeCAD Information

Activities

project4

2013-09-24 15:58

reporter   ~0003647

Correction:
when openning assembly's file in PartsDesigner I get the following dialog box:
No body was found in this document, and none could be created. Please report this bug.We recommend you do not use this document with the PartDesign workbench until the bug has been fixed.

ickby

2013-09-24 17:21

developer   ~0003649

I can reproduce your first report (crash after deleting the product), however, not the second one (crash by open assembly file while in partdesign). Can you elaborate a bit more on this? maybe give a file which crashes?

project4

2013-09-24 18:39

reporter   ~0003654

I've added a correction after submitted the bug, when opening the assembly file in PartDesigner it pops a dialog with the following text:
No body was found in this document, and none could be created. Please report this bug.We recommend you do not use this document with the PartDesign workbench until the bug has been fixed.

Will upload the file in a moment.
Maybe you have it fixed in your stream already... I'm on jriegel/dev-assembly branch.

project4

2013-09-25 13:42

reporter   ~0003667

I see the dialog popup in ickby's assembly stream as well.

ickby

2013-10-24 17:28

developer   ~0003802

the crash is fixed in the assembly branch of git@github.com:ickby/FreeCAD_constraint.git

you can now delete any product and close the documents without crash. The popup still won't appear for me.

yorik

2013-11-04 12:50

administrator  

assembly.fcstd (11,886 bytes)

ickby

2015-02-03 16:11

developer   ~0005759

obsolete

Issue History

Date Modified Username Field Change
2013-09-24 15:56 project4 New Issue
2013-09-24 15:58 project4 Note Added: 0003647
2013-09-24 17:21 ickby Note Added: 0003649
2013-09-24 18:39 project4 Note Added: 0003654
2013-09-24 18:40 project4 File Added: assembly.fcstd
2013-09-25 13:42 project4 Note Added: 0003667
2013-10-24 17:28 ickby Note Added: 0003802
2013-11-04 12:50 yorik File Deleted: assembly.fcstd
2013-11-04 12:50 yorik File Added: assembly.fcstd
2015-02-03 16:11 ickby Note Added: 0005759
2015-02-03 16:11 ickby Status new => closed
2015-02-03 16:11 ickby Assigned To => ickby
2015-02-03 16:11 ickby Resolution open => fixed