View Issue Details

IDProjectCategoryView StatusLast Update
0021803CommunityOCCT:Data Exchangepublic2012-01-13 15:53
ReporterszvAssigned Toszv 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Summary0021803: Colors are not shown after restoring the document
DescriptionThis problem was reported by a community member Roman Lygin:

"XmlXCAF and BinXCAF fail to store/retrieve colors in XDE assembly.

Take as1-oc-214.stp from www.cax-if.org
> pload ALL
> NewDoc d XmlXCAF
> ReadStep d as1-oc-214.stp
> XShow d # you will see correct colors
> SaveAs d C:/temp/as1-oc-214.stp
# Rename C:/temp/as1-oc-214.stp with as1.stp
> Open C:/temp/as1.stp d2
> XShow d2 # No colors

The same fails if to use NewDoc d BinXCAF. The same works well if to use NewDoc
d MDTV-XCAF. So the assumption is that storage/retrieval of some XDE attributes
in Xml/Bin format is missing or incorrect. Using XDumpDF on d2 produced by
different formats gives no clues – the structure is the same, and I did not have
time to dig deeper."
TagsNo tags attached.
Test case number

Attached Files

Activities

2010-06-22 12:34

 

as1-oc-214.zip (82,774 bytes)

szv

2010-06-22 12:50

manager   ~0015713

An alternative testing scenario by SZV:

pload OCAF
pload XDE
ReadStep d as1-oc-214.stp
Format d XmlXCAF
XSave d as1.xml
Format d BinXCAF
XSave d as1.xbf
file rename as1.xml as2.xml
file rename as1.xbf as2.xbf
Open as2.xml d1
Open as2.xbf d2
XShow d1
XShow d2

ptv

2011-03-02 13:47

developer   ~0015714

Dear BugMaster,
I guess that this bug is already investigated in frame of 22192. Please check.
Rgrds, Pavel.

bugmaster

2011-03-02 17:44

administrator   ~0015715

Problem has been corrected with fix for OCC22192.
Colors are shown after restoring the document

Issue History

Date Modified Username Field Change
2010-06-29 13:50 bugmaster Assigned To bugmaster => szv
2010-06-29 13:50 bugmaster Status new => assigned
2011-03-02 13:47 ptv OtherBugsDependingOnThis => 22192
2011-03-02 17:44 bugmaster Status assigned => verified
2011-08-02 11:12 bugmaster Category OCCT:DTE => OCCT:Data Exchange
2012-01-13 15:53 ysn Project Open CASCADE => Community