View Issue Details

IDProjectCategoryView StatusLast Update
0002977FreeCADFeaturepublic2017-09-25 08:56
ReporterKunda1 Assigned To 
PrioritylowSeverityfeatureReproducibilityhave not tried
Status closedResolutionno change required 
Summary0002977: uniform way to upgrade missing properties in python objects
DescriptionOriginal Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=21401
Discussion thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=23420
Tagspython
FreeCAD Information

Activities

wmayer

2017-09-25 08:53

administrator   ~0010183

Last edited: 2017-09-25 08:56

Implementing onDocumentRestored is uniform enough as it allows to either add missing properties or removing superfluous properties.

It would be nice to have something more elegant like for C++ features where missing properties can already be handled during the project load but this is not possible for Python features because the properties are added at runtime and not at compile time.

Related forum thread:
https://forum.freecadweb.org/viewtopic.php?f=10&t=21891&p=170262

Issue History

Date Modified Username Field Change
2017-03-21 01:07 Kunda1 New Issue
2017-03-21 01:07 Kunda1 Tag Attached: python
2017-07-12 12:41 Kunda1 Tag Attached: #post-to-forum
2017-07-14 13:21 Kunda1 Tag Detached: #post-to-forum
2017-07-14 13:21 Kunda1 Description Updated
2017-09-25 08:53 wmayer Status new => closed
2017-09-25 08:53 wmayer Resolution open => no change required
2017-09-25 08:53 wmayer Note Added: 0010183
2017-09-25 08:56 wmayer Note Edited: 0010183