View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002785 | FreeCAD | General | public | 2016-11-19 13:43 | 2016-11-29 16:18 |
| Reporter | damian | Assigned To | ickby | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
| Product Version | 0.17 | ||||
| Fixed in Version | 0.17 | ||||
| Summary | 0002785: hasExtension() always false | ||||
| Description | After applying an Extension to a Document Object, the request hasExtension() always return false. | ||||
| Steps To Reproduce | class MyExtension(): def __init__(self,obj): obj.addExtension("App::GroupExtensionPython",self) doc=App.newDocument() obj=doc.addObject("App::DocumentObject","myObj") MyExtension(obj) obj.hasExtension("App::GroupExtensionPython") | ||||
| Additional Information | App/ExtensionContainerPyImp.cpp line 156 to 158 if (getExtensionContainerPtr()->hasExtension(extension)) { val = true; } App/ExtensionContainer.cpp line 74 bool found = _extensions.find(t) != _extensions.end(); always return false | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-11-19 13:43 | damian | New Issue | |
| 2016-11-19 15:41 | wmayer | Assigned To | => ickby |
| 2016-11-19 15:41 | wmayer | Status | new => assigned |
| 2016-11-29 14:19 | ickby | Note Added: 0007499 | |
| 2016-11-29 14:19 | ickby | Status | assigned => resolved |
| 2016-11-29 14:19 | ickby | Resolution | open => fixed |
| 2016-11-29 16:18 | wmayer | Status | resolved => closed |
| 2016-11-29 16:18 | wmayer | Fixed in Version | => 0.17 |
FreeCAD