cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Corrupted fragments - incorrectly adding doc element, metadata, and TOC

fionahanington
1-Newbie

Corrupted fragments - incorrectly adding doc element, metadata, and TOC

We are having a really tough problem with fragments (file entities) --
I really hope someone out there can help.

Backgound
- 1 long file containing many commands (this is a Command Reference document)
- Size of file was causing merges (through ClearCase) to be very slow
- We decided to break into fragments -- 1 fragment per command.
- Did this by selecting the ch2 element and Entity > Create File
Fragment from Selection
- Added all fragments to source control
- So far so good, and we noticed our merge times were much improved

Problem
- Now, from time to time, when someone is editing a fragment (like
adding a Comment, for example), the fragment suddenly "thinks" it's a
complete document, and adds a doc element, metadata, and a TOC and
reports (of course) context errors.
- This seems to happen when the following sequence occurs: Editor
opens fragment, makes a change, saves and closes the fragment, reopens
the fragment, and then tries to make another change.
- The issue means that the container file (the one pointing to the
fragment) becomes invalid because it is bringing in an additional doc
element and TOC from the corrupted fragment.
- We can fix the issue easily enough by saving over the corrupted
fragment with a clean version, but we can't seem to figure out what is
causing it.
- We have tried working on files outside of CC, and the problem still
appears (so CC isn't the issue).

Any ideas? Many thanks!

Please include me directly in your reply.
Fiona Hanington


Arbortext Editor version 5.3 M061, ClearCase 7.1.1.2

3 REPLIES 3

We had similar issues and were able to resolve by using ACL to set the fragmentheader and fragmentheaderpreserve preferences. Go to the Tools > Preferences > Advanced... and then scroll until you see them. You can access help for each to see the definitions of each. You may only need one.

Thank you so much! This may be it!


Sorry for the neophyte question, but are these Advanced Preferences set per user? Or per file?

Per user. If you determine you need a particular setting I'd recommend setting it up in your start-up script.
Top Tags