18577: Merge branch 'main' into 18577-fix-back_url
[arvados.git] / sdk / cwl / arvados_cwl / executor.py
index aa19633d8c7e86067a02d823d0c638abb318ad4d..6e23d80a85e2434c222e47d7a1589f1087a9a3d9 100644 (file)
@@ -577,8 +577,8 @@ The 'jobs' API is no longer supported.
 
         loadingContext = self.loadingContext.copy()
         loadingContext.do_validate = False
-        loadingContext.do_update = False
         if submitting:
+            loadingContext.do_update = False
             # Document may have been auto-updated. Reload the original
             # document with updating disabled because we want to
             # submit the document with its original CWL version, not