View Issue Details

IDProjectCategoryView StatusLast Update
0003632FreeCADBugpublic2018-10-11 19:51
Reporterhhassey Assigned Towmayer  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18 
Target Version0.18Fixed in Version0.18 
Summary0003632: Drawing lines on top of an image will not save the work (Reason: ' &' in the file name)
DescriptionImported an image in a plane, proceed to draw on top of that image (pretty common for architectural work) Created walls out of these lines then saved the work, when you re open the file everything is messed up. and creates this error message:

Fatal Error at file /home/Test_File.fcstd, line 64, char 53
Invalid Document.xml: expected entity name for reference
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 31 (X_GrabKeyboard)
  Resource id:  0x0
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=31470
Steps To Reproduce1.- Open new Document
2.- Switch to Image WB.
3.- Push "Createe Planar image in 3D space" Select a png image. on plane x-y
4.- Set the image position to -1m
5.- Switch to the Draft WB
6.- Draw a "Multiple point Draft Wire" on top of the image, don't close it
7.- Save your work and Re open
Additional InformationOS: Debian GNU/Linux 9.5 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14959 (Git)
Build type: Debug
Branch: master
Hash: ff05101b68dc9a7d1e70dd69544f14ac8598a433
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
Tagsunicode
FreeCAD Information

Relationships

has duplicate 0003631 closed Drawing lines on top of an image will not save the work 

Activities

hhassey

2018-10-10 16:23

reporter  

Correct.png (639,512 bytes)
Correct.png (639,512 bytes)
wrong.png (153,050 bytes)
wrong.png (153,050 bytes)

hhassey

2018-10-10 16:43

reporter   ~0011992

Found the BUG, the PNG image name had an & and that makes FreeCAD go crazy.

Maybe something we want to fix maybe not. :)

Kunda1

2018-10-10 17:49

administrator   ~0011993

Put on the 0.18 roadmap

Kunda1

2018-10-10 19:45

administrator   ~0011998

@hhassey I added the forum thread to this ticket. Please do the same in the future. Thanks.

hhassey

2018-10-10 19:48

reporter   ~0011999

@Kunda1 I did put the forum thread, Maybe it is now duplicated...

wmayer

2018-10-11 19:51

administrator   ~0012004

https://github.com/FreeCAD/FreeCAD/commit/22ddbe0f8d61fcffbb8d3369a7bbb80a7515b558

Issue History

Date Modified Username Field Change
2018-10-10 16:23 hhassey New Issue
2018-10-10 16:23 hhassey Tag Attached: Arch
2018-10-10 16:23 hhassey File Added: Correct.png
2018-10-10 16:23 hhassey File Added: wrong.png
2018-10-10 16:43 hhassey Note Added: 0011992
2018-10-10 17:46 Kunda1 Relationship added has duplicate 0003631
2018-10-10 17:47 Kunda1 Tag Attached: unicode
2018-10-10 17:48 Kunda1 Summary Drawing lines on top of an image will not save the work => Drawing lines on top of an image will not save the work (Reason: Unicode issue: ' &' in the file name)
2018-10-10 17:48 Kunda1 Relationship added related to 0002973
2018-10-10 17:49 Kunda1 Tag Detached: Arch
2018-10-10 17:49 Kunda1 Target Version => 0.18
2018-10-10 17:49 Kunda1 Note Added: 0011993
2018-10-10 19:44 Kunda1 Description Updated View Revisions
2018-10-10 19:45 Kunda1 Note Added: 0011998
2018-10-10 19:48 hhassey Note Added: 0011999
2018-10-11 13:02 Kunda1 Assigned To => wmayer
2018-10-11 13:02 Kunda1 Status new => assigned
2018-10-11 19:40 wmayer Relationship deleted related to 0002973
2018-10-11 19:51 wmayer Summary Drawing lines on top of an image will not save the work (Reason: Unicode issue: ' &' in the file name) => Drawing lines on top of an image will not save the work (Reason: ' &' in the file name)
2018-10-11 19:51 wmayer Status assigned => closed
2018-10-11 19:51 wmayer Resolution open => fixed
2018-10-11 19:51 wmayer Fixed in Version => 0.18
2018-10-11 19:51 wmayer Note Added: 0012004