Эх сурвалжийг харах

HUE-7116 [editor] Fix syntax checker js error when table ref is missing

Johan Ahlen 8 жил өмнө
parent
commit
19bcf9c

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -3748,7 +3748,7 @@
           };
           token.notFound = true;
 
-          if (token.parseLocation.type === 'table') {
+          if (token.parseLocation && token.parseLocation.type === 'table') {
             ApiHelper.getInstance().identifierChainToPath({
               identifierChain: token.parseLocation.identifierChain,
               sourceType: self.snippet.type(),