MantisBT - Open CASCADE
View Issue Details
0028446Open CASCADE[OCCT] OCCT:Application Frameworkpublic2017-02-07 16:402017-09-29 16:25
szy 
bugmaster 
normalmajor 
closedfixed 
[OCCT] 7.1.0 
[OCCT] 7.2.0[OCCT] 7.2.0 
caf basic A7, B7, E7, N7
0028446: Could not retrieve just kept document with Integer attribute
If we set several Integer attributes to the same label in specific order - first with default guid and after with specific guid - the document can't be retrieved.
If creation order is changed - all is ok.
pload ALL
NewDocument D XmlOcaf
SetInteger D 0:1 121
set aGuid1 "12e94551-6dbc-11d4-b9c8-0060b0ee281b"
SetInteger D 0:1 129 ${aGuid1}
GetInteger D 0:1
GetInteger D 0:1 ${aGuid1}
SaveAs D test1.xml
Close D
Open test1.xml D
This label has already such an attribute.
 could not retrieve
DDocStd_Open : Error
No tags attached.
related to 0027970closed bugmaster Improvement of standard attributes usability - containers 
Issue History
2017-02-07 16:40szyNew Issue
2017-02-07 16:40szyAssigned To => szy
2017-02-07 16:41szyStatusnew => assigned
2017-02-08 18:31gitNote Added: 0063712
2017-02-08 18:33szyNote Added: 0063713
2017-02-08 18:33szyAssigned Toszy => mpv
2017-02-08 18:33szyStatusassigned => resolved
2017-02-09 11:01mpvNote Added: 0063720
2017-02-09 11:01mpvAssigned Tompv => bugmaster
2017-02-09 11:01mpvStatusresolved => reviewed
2017-02-09 11:39mkvAssigned Tobugmaster => mkv
2017-02-09 14:23abvRelationship addedrelated to 0027970
2017-02-09 14:24abvNote Added: 0063733
2017-02-09 14:24abvStatusreviewed => assigned
2017-02-09 16:19mkvAssigned Tomkv => szy
2017-03-09 16:29gitNote Added: 0064205
2017-03-09 16:30szyNote Added: 0064206
2017-03-09 16:30szyAssigned Toszy => mpv
2017-03-09 16:30szyStatusassigned => resolved
2017-03-09 19:45mpvNote Added: 0064220
2017-03-09 19:45mpvAssigned Tompv => bugmaster
2017-03-09 19:45mpvStatusresolved => reviewed
2017-03-10 14:55mkvAssigned Tobugmaster => mkv
2017-03-13 13:08mkvNote Added: 0064264
2017-03-13 13:08mkvNote Added: 0064265
2017-03-13 13:08mkvAssigned Tomkv => szy
2017-03-13 13:08mkvStatusreviewed => assigned
2017-03-13 13:08mkvTest case number => caf basic A7, B7, E7, N7
2017-03-16 15:16gitNote Added: 0064383
2017-03-16 15:17szyNote Added: 0064384
2017-03-16 15:17szyAssigned Toszy => mpv
2017-03-16 15:17szyStatusassigned => resolved
2017-03-21 16:01mpvNote Added: 0064581
2017-03-21 16:01mpvAssigned Tompv => bugmaster
2017-03-21 16:01mpvStatusresolved => reviewed
2017-03-21 16:39mkvAssigned Tobugmaster => mkv
2017-03-21 16:57mkvNote Added: 0064583
2017-03-21 16:57mkvAssigned Tomkv => szy
2017-03-21 16:57mkvStatusreviewed => assigned
2017-05-23 15:15gitNote Added: 0066470
2017-05-23 15:16szyNote Added: 0066471
2017-05-23 15:16szyAssigned Toszy => vro
2017-05-23 15:16szyStatusassigned => resolved
2017-05-24 07:27vroAssigned Tovro => bugmaster
2017-05-24 07:27vroStatusresolved => reviewed
2017-05-24 11:17mkvAssigned Tobugmaster => mkv
2017-05-25 11:28mkvNote Added: 0066545
2017-05-25 11:28mkvNote Added: 0066546
2017-05-25 11:28mkvAssigned Tomkv => bugmaster
2017-05-25 11:28mkvStatusreviewed => tested
2017-05-26 14:28bugmasterChangeset attached => occt master e2fc87e7
2017-05-26 14:29bugmasterStatustested => verified
2017-05-26 14:29bugmasterResolutionopen => fixed
2017-05-26 14:56bugmasterChangeset attached => occt master 69f1a899
2017-05-29 16:05gitNote Added: 0066755
2017-05-29 16:05gitNote Added: 0066756
2017-05-29 16:05gitNote Added: 0066757
2017-05-29 16:05gitNote Added: 0066758
2017-09-29 16:18aivFixed in Version => 7.2.0
2017-09-29 16:25aivStatusverified => closed

Notes
(0063712)
git   
2017-02-08 18:31   
Branch CR28446 has been created by szy.

SHA-1: 3464f31863a063d02d2a3a300f7af1bb912bb1c2


Detailed log of new commits:

Author: szy
Date: Wed Feb 8 18:31:01 2017 +0300

    28446: Could not retrieve just kept document with Integer attribute.
    
    The same problem is fixed in Real, Name and AsciiString attributes.
    Tests A7, B7, E7, N7 are added.
(0063713)
szy   
2017-02-08 18:33   
Review it, please.
(0063720)
mpv   
2017-02-09 11:01   
Reviewed, please, test.
(0063733)
abv   
2017-02-09 14:24   
Please reconsider this change: package TDF may not depend on higher-level TDataStd
(0064205)
git   
2017-03-09 16:29   
Branch CR28446_1 has been created by szy.

SHA-1: 728933d05efb5ebf3907ee75634f820ff94063a2


Detailed log of new commits:

Author: szy
Date: Thu Mar 9 16:28:44 2017 +0300

    28446: Could not retrieve just kept document with Integer attribute.
    
    The solution is modified.
    Additional tests to check the solution: A7, B7, E7, N7.
(0064206)
szy   
2017-03-09 16:30   
Review it, please.
(0064220)
mpv   
2017-03-09 19:45   
Reviewed. Please, test.
(0064264)
mkv   
2017-03-13 13:08   
Dear BugMaster,
Branch CR28446_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
SHA-1: 728933d05efb5ebf3907ee75634f820ff94063a2

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 5 (0 on master)

products component :
Linux: 64 (64 on master)
Windows: 0 (0 on master)
MacOS : 1215

There is new additional compilation warning on MacOS platform:
http://jenkins-test-07.nnov.opencascade.com:8080/user/mnt/my-views/view/A_mnt_warnings/portlet/dashboard_portlet_13912/job/CR28446_1-master-OCCT-MacOS-opt-compile/1/warnings7Result/ [^]
TDataStd_AsciiString.hxx:65, Clang (LLVM based), Priority: Normal
'SetID' overrides a member function but is not marked 'override'
TDataStd_Integer.hxx:64, Clang (LLVM based), Priority: Normal
'SetID' overrides a member function but is not marked 'override'
TDataStd_Name.hxx:84, Clang (LLVM based), Priority: Normal
'SetID' overrides a member function but is not marked 'override'
TDataStd_Real.hxx:75, Clang (LLVM based), Priority: Normal
'SetID' overrides a member function but is not marked 'override'
TDataStd_UAttribute.hxx:53, Clang (LLVM based), Priority: Normal
'SetID' overrides a member function but is not marked 'override'

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
http://occt-tests/CR28446_1-master-OCCT/Debian70-64/caf/basic/A7.html [^]
http://occt-tests/CR28446_1-master-OCCT/Windows-64-VC10/caf/basic/A7.html [^]
caf basic A7: OK
http://occt-tests/CR28446_1-master-OCCT/Debian70-64/caf/basic/B7.html [^]
http://occt-tests/CR28446_1-master-OCCT/Windows-64-VC10/caf/basic/B7.html [^]
caf basic B7: OK
http://occt-tests/CR28446_1-master-OCCT/Debian70-64/caf/basic/E7.html [^]
http://occt-tests/CR28446_1-master-OCCT/Windows-64-VC10/caf/basic/E7.html [^]
caf basic E7: OK
http://occt-tests/CR28446_1-master-OCCT/Debian70-64/caf/basic/N7.html [^]
http://occt-tests/CR28446_1-master-OCCT/Windows-64-VC10/caf/basic/N7.html [^]
caf basic N7: OK

Testing on Linux:
occt component :
Total MEMORY difference: 92787496 / 92370907 [+0.45%]
Total CPU difference: 19994.050000000167 / 19841.240000000398 [+0.77%]
products component :
Total MEMORY difference: 31025480 / 31147739 [-0.39%]
Total CPU difference: 5514.269999999986 / 5456.869999999986 [+1.05%]

Testing on Windows:
occt component :
Total MEMORY difference: 57671661 / 57663643 [+0.01%]
Total CPU difference: 18642.259900898556 / 18635.5206576986 [+0.04%]
products component :
Total MEMORY difference: 22289663 / 22249574 [+0.18%]
Total CPU difference: 5487.662777099967 / 5512.435735899986 [-0.45%]

There are no differences in images found by testdiff.
(0064265)
mkv   
2017-03-13 13:08   
Dear szy,
Branch CR28446_1 has been rejected due to:
- additional warnings
(0064383)
git   
2017-03-16 15:16   
Branch CR28446_2 has been created by szy.

SHA-1: 5a0adb72e04848dc9415b31971be9c4784de9b27


Detailed log of new commits:

Author: szy
Date: Thu Mar 16 15:16:21 2017 +0300

    28446: Could not retrieve just kept document with Integer attribute.
    
    The solution is changed to new one.
(0064384)
szy   
2017-03-16 15:17   
Review it, please.
(0064581)
mpv   
2017-03-21 16:01   
Reviewed, please, test.
(0064583)
mkv   
2017-03-21 16:57   
Dear szy,
could you please rebase branch CR28446 on branch CR27970_2, see 0027970 .
(0066470)
git   
2017-05-23 15:15   
Branch CR28446_3 has been created by szy.

SHA-1: 4a806718ba69a30d357e8b6bab60c8a7be3c7713


Detailed log of new commits:

Author: szy
Date: Tue May 23 15:14:51 2017 +0300

    0028446: Rebased on 27970_9.
    
    //all last remarks are taken into account.
(0066471)
szy   
2017-05-23 15:16   
Fixed.
Review, please.
(0066545)
mkv   
2017-05-25 11:28   
Dear BugMaster,
Branch CR28446_3 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
SHA-1: 4a806718ba69a30d357e8b6bab60c8a7be3c7713

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

products component :
Linux: 64 (64 on master)
Windows: 0 (0 on master)
MacOS : 1189

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
http://occt-tests/CR28446_3-master-OCCT/Debian70-64/caf/basic/A7.html [^]
http://occt-tests/CR28446_3-master-OCCT/Windows-64-VC10/caf/basic/A7.html [^]
caf basic A7: OK
http://occt-tests/CR28446_3-master-OCCT/Debian70-64/caf/basic/B7.html [^]
http://occt-tests/CR28446_3-master-OCCT/Windows-64-VC10/caf/basic/B7.html [^]
caf basic B7: OK
http://occt-tests/CR28446_3-master-OCCT/Debian70-64/caf/basic/E7.html [^]
http://occt-tests/CR28446_3-master-OCCT/Windows-64-VC10/caf/basic/E7.html [^]
caf basic E7: OK
http://occt-tests/CR28446_3-master-OCCT/Debian70-64/caf/basic/N7.html [^]
http://occt-tests/CR28446_3-master-OCCT/Windows-64-VC10/caf/basic/N7.html [^]
caf basic N7: OK

Testing on Linux:
occt component :
Total MEMORY difference: 92406074 / 91624311 [+0.85%]
Total CPU difference: 18946.61000000026 / 18660.990000000344 [+1.53%]
products component :
Total MEMORY difference: 31243251 / 31347866 [-0.33%]
Total CPU difference: 5461.26999999999 / 5401.239999999972 [+1.11%]
Testing on Windows:
occt component :
Total MEMORY difference: 58430918 / 58426283 [+0.01%]
Total CPU difference: 17431.879342098648 / 17319.43382129878 [+0.65%]
products component :
Total MEMORY difference: 22719590 / 22681228 [+0.17%]
Total CPU difference: 5404.311442799981 / 5370.256424499971 [+0.63%]

There are no differences in images found by testdiff.
(0066546)
mkv   
2017-05-25 11:28   
Dear BugMaster,
Branch CR28446_3 is TESTED.
(0066755)
git   
2017-05-29 16:05   
Branch CR28446 has been deleted by kgv.

SHA-1: 3464f31863a063d02d2a3a300f7af1bb912bb1c2
(0066756)
git   
2017-05-29 16:05   
Branch CR28446_1 has been deleted by kgv.

SHA-1: 728933d05efb5ebf3907ee75634f820ff94063a2
(0066757)
git   
2017-05-29 16:05   
Branch CR28446_2 has been deleted by kgv.

SHA-1: 5a0adb72e04848dc9415b31971be9c4784de9b27
(0066758)
git   
2017-05-29 16:05   
Branch CR28446_3 has been deleted by kgv.

SHA-1: 4a806718ba69a30d357e8b6bab60c8a7be3c7713