View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002977 | FreeCAD | Feature | public | 2017-03-21 01:07 | 2017-09-25 08:56 |
Reporter | Kunda1 | Assigned To | |||
Priority | low | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Summary | 0002977: uniform way to upgrade missing properties in python objects | ||||
Description | Original Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=21401 Discussion thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=23420 | ||||
Tags | python | ||||
FreeCAD Information | |||||
|
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 |
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 |