Explorar o código

HPCC-8221 ESP wasn't correctly loading plugin definitions

Due to a change in the way scopes are loaded on demand, esp wasn't correctly
picking up symbols defined in plugins because they were still waiting to be
loaded.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday %!s(int64=12) %!d(string=hai) anos
pai
achega
81061989b9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      common/fileview2/fvtransform.cpp

+ 1 - 0
common/fileview2/fvtransform.cpp

@@ -297,6 +297,7 @@ void ViewTransformerRegistry::addPlugins(const char * name)
     {
         IHqlScope * scope = &scopes.item(i);
         HqlExprArray symbols;
+        scope->ensureSymbolsDefined(ctx);
         scope->getSymbols(symbols);
 
         ForEachItemIn(j, symbols)