I am testing servoy 6.0 with a solution who work in servoy 5.2.8.
I export my solution from 5.2.8 and import in servoy 6.0.
An than appears only 16 error and 4200 warning.
Some of them are under control, but another are difficult to know the problem.
Some difficult error:
-A cycle was detected in the build path of project: Example
- If in a relation I use a global variable from another module from the same application :Relation "xxxx_to_yyyy" has a primary dataprovider "globals.variable" which is not found.
-If I use a relation who source an destination have a table but in the 'FROM' column has only a global variable and I use that in a Form who his dataSource is none: Relation "_to_articulos$sn_tree_id_selected" has a primary dataprovider "globals.sn_tree_id_selected" which is not found.
Some difficult warnings:
-The property tipo is undefined for the type JSRecord
if I has that code, how can I define that record?
- Code: Select all
* @param {JSRecord} record
*
* @returns {Boolean}
*
* @properties={typeid:24,uuid:"E3542176-DBCB-4251-B5F3-892F4B35B564"}
*/
function factura_onRecordInsert(record) {
record.tipo
-I use to call a lot of method from my solution to a module and it give me a warning, the same problem with global variable: The property utl_dato is undefined for the type Globals<MySolution>
-The function sn_guardar() is undefined in this script
- Code: Select all
function sn_guardar(_no_editable) {
return _super.sn_guardar(_no_editable)}