ID 215773 - Sequence Export fails to use latest nuke script for comp container if the updated script has not been rendered to the timeline

Follow

Problem summary
Sequence Export transcode fails to use latest nuke script for a comp container if the updated comp was NOT rendered to
the timeline. 
 
If a comp container has NEVER been rendered to the timeline,  Sequence transcode export will
render correctly. But if you make a change in a nuke script and do not 'Render Comp' for the
updated nuke script to the timeline,  Sequence Export transcode will instead have whatever
version of the comp was rendered to the timeline last.
 
When the user sees this message in Export dialogue, the expectation is that all comp containers
will be rendered in their current state if 'Render' is chosen rather than 'skip them'-
 
"Some comp items have not been rendered. Do
you want to render them now, or skip them ?"


Customer reported version
nuke.10.0v1

Customer reported platform
windows10

Steps to reproduce
(see screenshots on numbered steps)
1. Create new project with 2 clips, renamed Shot0010 and Shot0020
 
2. Create Comp on each clip, both are yellow and have never been rendered 
 
3. Rt-click on Shot0010 container and choose Render Comp,  comp container turns green (OK)
 
4. Dbl-click on Shot0010 container and in Compositing workspace, add Grade node (multiply .2) to nuke script
-Save the nuke script with the dark Grade correction ***don't Save as New Version, just Save Comp***
 
5. Go back to Sequence timeline, Shot0010 container is now yellow again because nuke script was updated (OK)
but the updated, darker comp has not yet been rendered to the timeline
 
-Select both comp containers ( remember, Shot0020 has never been rendered to timeline before)
-Rt-click Export - Process as Sequence and choose any preset to transcode the Sequence
 
6. You will get this warning....
Some comp items have not been rendered. Do
you want to render them now, or skip them ?
-Choose Render

-RESULT
-The sequence transcode .mov is rendered but Shot010 did not render using the latest nuke script
so Shot0010 is wrong , not darker as intended,  in exported .mov. 
Shot0020 is correct in the transcode.
 
7. Note: in the Timeline, Shot0010 is still yellow and Shot0020 is green
 


Reproduced by support
yes
9.0v8 and 10.0v1 ( comp container behavior very different in 9.0v1 and somewhat different in 9.0v2 so regression details not complete)

Expected behaviour
When choosing 'Render' for Sequence export, all comp containers should be rendered in their current state,
including those which are yellow because the nuke script was updated after it had been previously rendered
to timeline.

Actual behavior
When choosing 'Render' for Sequence export, updated comp containers are not rendered with the 
updated nuke script, if they had been previously rendered to the timeline before the nuke script update. 
 
Comp containers which were "new" or had never been previously rendered to the timeline, render as expected.
 
The user finds the actual behavior to be inconsistent.
 

    We're sorry to hear that

    Please tell us why