DiscussionsIssue archiveOCCT:Application Framework

Archived issue #0005716

Incorrect computation of the network path during XLink update.

Open CASCADEOCCT:Application Frameworkclosed0 public notes

Search issues

Description

Warning: this bug can be reproduced only after fixing OCC5715.

1. Start Draw.
2. Create two documents D1 and D2.
3. Create XLink from D1 to D2.
4. Save D2 in the network. Ex: \\SOMEMACHINE\\Shared\\D2.std
5. Save D1 locally. Ex: C:\work\D1.std
6. Close Draw.
7. Start Draw.
8. Open D1 document.
9. Upate XLink -> Exception: Standard_Failure: could not find the referenced
document: C://SOMEMACHINE/Shared/D2.std; not found.

Additional information

Documentation remark, added by Author 2004-04-30 11:42:50:

Changes:
Changed way of creating relative path for referenced document on NT platform.
Added possibility to store referneced document in the network forlder.
Modified entities:
PCDM/PCDM_ReadWriter_1/GetFileFromDir()
PCDM/PCDM_ReadWriter_1/AbsolutePath()

Public activity

No public notes

Participants are labeled by their role within this record.