diff --git a/src/00/z2ui5_cl_fw_db.clas.abap b/src/00/z2ui5_cl_fw_db.clas.abap index 3c4530e0..1f744bcb 100644 --- a/src/00/z2ui5_cl_fw_db.clas.abap +++ b/src/00/z2ui5_cl_fw_db.clas.abap @@ -179,9 +179,9 @@ CLASS z2ui5_cl_fw_db IMPLEMENTATION. IF sy-subrc <> 0. CONTINUE. ENDIF. - IF IS NOT INITIAL. +* IF IS NOT INITIAL. lr_attri->data_rtti = z2ui5_cl_fw_utility=>rtti_xml_get_by_data( ). - ENDIF. +* ENDIF. CLEAR . CLEAR . ENDLOOP. diff --git a/src/00/z2ui5_cl_fw_model.clas.abap b/src/00/z2ui5_cl_fw_model.clas.abap index 7ac9a50e..cc9c40c1 100644 --- a/src/00/z2ui5_cl_fw_model.clas.abap +++ b/src/00/z2ui5_cl_fw_model.clas.abap @@ -107,8 +107,6 @@ CLASS z2ui5_cl_fw_model IMPLEMENTATION. DATA(lr_view_model) = z2ui5_cl_fw_utility_json=>factory( ). DATA(lo_update) = lr_view_model->add_attribute_object( z2ui5_cl_fw_binding=>cv_model_edit_name ). -* DATA(lt_binds) = VALUE z2ui5_if_client=>ty_t_name_value( ). - LOOP AT mt_attri REFERENCE INTO DATA(lr_attri) WHERE bind_type <> ``. IF lr_attri->bind_type = z2ui5_cl_fw_binding=>cs_bind_type-one_time. @@ -127,7 +125,7 @@ CLASS z2ui5_cl_fw_model IMPLEMENTATION. IF sy-subrc <> 0. RAISE EXCEPTION TYPE z2ui5_cx_fw_error EXPORTING - val = `BINDING_ERROR - No attribute found with name: ` && lr_attri->name. + val = `Error while creating the response, seems that some app data is not available anymore.

BINDING_ERROR - No attribute found with name: ` && lr_attri->name && `

`. ENDIF. CASE lr_attri->type_kind. diff --git a/src/z2ui5_cl_fw_http_handler.clas.abap b/src/z2ui5_cl_fw_http_handler.clas.abap index 7be8b3d2..c97d8f79 100644 --- a/src/z2ui5_cl_fw_http_handler.clas.abap +++ b/src/z2ui5_cl_fw_http_handler.clas.abap @@ -166,8 +166,9 @@ CLASS z2ui5_cl_fw_http_handler IMPLEMENTATION. ` let method = sap.z2ui5.oResponse.PARAMS.S_TIMER.EVENT_FINISHED.split( '(' )[ 0 ];` && |\n| && ` let oArgs = [];` && |\n| && ` oArgs.push( JSON.parse( (sap.z2ui5.oResponse.PARAMS.S_TIMER.EVENT_FINISHED.split( '(' )[ 1 ].split( ')' )[ 0 ].split( '}' )[ 0 ] + '}').replaceAll( "'" , '"' ) ) );` && |\n| && - ` let oArgsPara = sap.z2ui5.oResponse.PARAMS.S_TIMER.EVENT_FINISHED.split( '(' )[ 1 ].split( ')' )[ 0 ].split( '}' )[ 1 ].split( ',' ).slice(1);` && |\n| && - ` oArgsPara.forEach( ( item, index, arr ) => { arr[index] = item.replace( '"' , '' ); } );;` && |\n| && + ` // let oArgsPara = sap.z2ui5.oResponse.PARAMS.S_TIMER.EVENT_FINISHED.split( '(' )[ 1 ].split( ')' )[ 0 ].split( '}' )[ 1 ].split( ',' ).slice(1);` && |\n| && + ` let oArgsPara = sap.z2ui5.oResponse.PARAMS.S_TIMER.EVENT_FINISHED.split( '(' )[ 1 ].split( ')' )[ 0 ].split( '}' )[ 1 ].split( '"' ).slice(1);` && |\n| && + ` // oArgsPara.forEach( ( item, index, arr ) => { arr[index] = item.replace( '"' , '' ); } );;` && |\n| && ` oArgs = oArgs.concat( oArgsPara );` && |\n| && ` if (method == 'onEvent'){ sap.z2ui5.oController.onEvent(...oArgs); }else{ sap.z2ui5.oController.onEventFrontend(...oArgs); }` && |\n| && ` }` && |\n| &&