Răsfoiți Sursa

Revert "Revert "wip""

This reverts commit f817ac652e35e9ed79db8d24c4144460e4cc0f71.

GitOrigin-RevId: 80bc280977d25e3ba554c32242fddfb3e15915e6
Ersun Warncke 6 ani în urmă
părinte
comite
1c77077e71

+ 2 - 1
services/web/app/src/Features/Compile/ClsiManager.js

@@ -471,8 +471,9 @@ const ClsiManager = {
     }
     ProjectGetter.getProject(
       projectId,
-      { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1 },
+      { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1, rootDoc_id: 1 },
       (err, project) => {
+        console.log("GGGG", project)
         if (err != null) {
           return callback(
             new OError({

+ 1 - 1
services/web/app/src/Features/Compile/CompileManager.js

@@ -62,7 +62,7 @@ module.exports = CompileManager = {
               return callback(null, 'autocompile-backoff', [])
             }
 
-            return ProjectRootDocManager.ensureRootDocumentIsValid(
+            return ProjectRootDocManager.ensureRootDocumentIsSet(
               project_id,
               function(error) {
                 if (error != null) {