I am now on ColdBox 5.4.1.
a) When I spin a Lucee server version 5.2.9+31, everything works fine and all my tests pass (see attached pix1).
b) However, when I spin a Lucee server version 5.3.2+77, major headaches, none of my tests pass any more… (see attached pix2).
It is exactly the same code. Does not seem related to Coldbox but to Lucee… Affecting all my queries.
NB: I am not using ORM. All my queries are built dynamically using a schema.xml file that provides field names and table names within a child DAO:
// The xmlObject was set in the baseDAO class to manipulate the schema.xml file found in the models/xml directory.
public function init(){
var Arguments = StructNew();
Arguments.fieldNameList = ArrayToList(XmlSearch(xmlObject,"/schema/model[3]/entity[1]/propertyName/propertyValue/@name"));
Arguments.tableName = ArrayToList(XmlSearch(xmlObject,"/schema/model[3]/entity[1]/@name"));
Arguments.keyFieldName = ArrayToList(XmlSearch(xmlObject,"/schema/model[3]/entity[1]/propertyName[1]/propertyValue/@name"));
Super.Init(argumentCollection=Arguments);
return this;
}
In the parent, the baseDAO class, I parse the XML object to build the query:
xmlObject = XmlParse("/models/xml/schema.xml",“yes”)
Any ideas what has happened between the two versions of Lucee with regard to XML functions ?