Closed gsteimer closed 10 years ago
@benallenallen @dgrumieaux - our hunch was correct. This is because of the addRendition call when the eSignature PDF is added. The DFC code was setting the keep parameter to true, when it should be false. I'll update the 2.1 tag and OC trunk.
Committed to 2.1 Tag - OC rev 8500 Merged to OC Trunk - rev 8501
If you checkin a x.0 to create y.1, the PDF rendition looks to be carried over to the new y.1 version. After DTS processes y.1, the object incorrectly has two PDF renditions.
This one is perhaps easier to show in pictures. In the scenario below, I have a CURRENT, LATEST, Effective 2.0 document.
The renditions of the 2.0 document look a little odd to me - there are two renditions, and they're both correct, but the set_file looks weird:![image](https://f.cloud.github.com/assets/1377228/2150890/b3645fe6-9405-11e3-88e6-c7b83699ada6.png)
Looking at a different Draft document with PDF set from DTS, you can easily see from the set file that the rendition was created from DTS:![image](https://f.cloud.github.com/assets/1377228/2150923/07e629fa-9406-11e3-9812-9b2454030b4c.png)
Getting back to my original doc... I checkout 2,0, modify the Word content and check it back in. After the checkin, but before DTS has a chance to render the doc, the renditions look like this:
2.0, CURRENT, Effective![image](https://f.cloud.github.com/assets/1377228/2150963/6c18cacc-9406-11e3-8400-525bade19b74.png)
2.1, LATEST, Draft![image](https://f.cloud.github.com/assets/1377228/2150957/6206cb06-9406-11e3-9e2e-5c6dc322491e.png)
After DTS has a chance to render the document, the renditions look like this:
2.0, CURRENT, Effective![image](https://f.cloud.github.com/assets/1377228/2151027/fae67c18-9406-11e3-844c-90757f6344f2.png)
2.1, LATEST, Draft![image](https://f.cloud.github.com/assets/1377228/2151023/f2203236-9406-11e3-886f-8244567a0b97.png)
As you can see - it looks like the odd rendition is carried over to the 2.1 when the checkin happens. At this point, I"m not sure if the issue is something in DTS, or our TBO code that runs when the 2.1 is created.