fixed bug 41893: Masked String reference can leave ADCS in an inconsitent state
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 27 Sep 2019 09:56:29 +0200
changeset 36564 8c33062c4a20
parent 36563 45f5100585a8
child 36565 921035308d38
fixed bug 41893: Masked String reference can leave ADCS in an inconsitent state

Masked String reference was partially initialized in ADCS, causing errors when
a record in a tab with this reference triggered ADCS initialization for that
window and later a view definition for the same window was requested.

Now we are eagerly initializating masked string references.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java	Wed Sep 18 21:49:30 2019 -0300
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java	Fri Sep 27 09:56:29 2019 +0200
@@ -395,6 +395,8 @@
         initializeDALObject(refTreeField);
       }
     }
+
+    initializeDALObject(reference.getOBCLKERREFMASKList());
   }
 
   public List<AuxiliaryInput> getAuxiliarInputList(String tabId) {