View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0004572 | Path | Bug | public | 2021-02-17 14:44 | 2021-02-20 17:00 | 
| Reporter | sliptonic | Assigned To | sliptonic | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Product Version | 0.19 | ||||
| Target Version | 0.19 | ||||
| Summary | 0004572: Property in propertybag will allow space in name but throws error. Sanitize input. | ||||
| Description | When creating a property in a propertybag, the input will allow a property name with included spaces. This results in an error: 08:39:36 Traceback (most recent call last): 08:39:36 File "/home/brad/FCD/FC/Mod/Path/PathScripts/PathPropertyBagGui.py", line 324, in propertyAdd 08:39:36 self._setupProperty(index, name) 08:39:36 File "/home/brad/FCD/FC/Mod/Path/PathScripts/PathPropertyBagGui.py", line 238, in _setupProperty 08:39:36 typ = PathPropertyBag.getPropertyTypeName(self.obj.getTypeIdOfProperty(name)) 08:39:36 AttributeError: Property container has no property 'a thing' | ||||
| Steps To Reproduce | Create a property bag add a property with a space in the name apply. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | OS: Linux Mint 20 (i3/i3) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.24113 +1 (Git) Build type: Unknown Branch: bug/uselastlibrary Hash: ac54034a768505e7720977e8a4e6fb50292c3068 Python version: 3.8.5 Qt version: 5.12.8 Coin version: 4.0.0 OCC version: 7.3.0 Locale: English/United States (en_US) | ||||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2021-02-17 14:44 | sliptonic | New Issue | |
| 2021-02-17 15:26 | sliptonic | Assigned To | => sliptonic | 
| 2021-02-17 15:26 | sliptonic | Status | new => assigned | 
| 2021-02-20 17:00 | sliptonic | Changeset attached | => FreeCAD master b7eac5df | 
| 2021-02-20 17:00 | sliptonic | Note Added: 0015390 | |
| 2021-02-20 17:00 | sliptonic | Status | assigned => closed | 
| 2021-02-20 17:00 | sliptonic | Resolution | open => fixed | 
 FreeCAD
 FreeCAD