Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to import a modified module.
#2
The accents in the XML file where at fault at the end.

This solved the issue:
Code:
diff
diff --git a/vtlib/Vtiger/PackageExport.php b/vtlib/Vtiger/PackageExport.php
index 28048f74a..bb1eaf91b 100644
--- a/vtlib/Vtiger/PackageExport.php
+++ b/vtlib/Vtiger/PackageExport.php
@@ -463,7 +463,7 @@ class Vtiger_PackageExport {
                        $this->outputNode($fieldresultrow['columnname'], 'columnname');
                        $this->outputNode($fieldresultrow['tablename'], 'tablename');
                        $this->outputNode($fieldresultrow['generatedtype'], 'generatedtype');
-                       $this->outputNode($fieldresultrow['fieldlabel'], 'fieldlabel');
+                       $this->outputNode('<![CDATA['.$fieldresultrow['fieldlabel'].']]>', 'fieldlabel');
                        $this->outputNode($fieldresultrow['readonly'], 'readonly');
                        $this->outputNode($fieldresultrow['presence'], 'presence');
                       $this->outputNode($fieldresultrow['defaultvalue'], 'defaultvalue');

Thanks Joe!
Reply


Messages In This Thread
RE: Unable to import a modified module. - javier - 12-14-2021, 12:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)