platform icon indicating copy to clipboard operation
platform copied to clipboard

It is impossible to create module with the name 'Country' at the moment

Open danchanka opened this issue 5 years ago • 0 comments

Code from DBManager.java:

        ScriptingLogicsModule module = businessLogics.getModule("Country");
        if(module != null) {
            LP<?> lp = module.findProperty("isDayOff[Country,DATE]");

            Properties props = new Properties();
            props.put("dayoff.tablename", lp.property.mapTable.table.getName(sql.syntax));
            props.put("dayoff.fieldname", lp.property.field.getName(sql.syntax));
            adapter.ensureScript("jumpWorkdays.sql", props);
        }

Thus, when someone creates module Country he gets an error message "isDayOff is not found".

danchanka avatar Mar 17 '20 13:03 danchanka