ADT_Backend icon indicating copy to clipboard operation
ADT_Backend copied to clipboard

Staging fails for SICF Nodes

Open scst0014 opened this issue 3 years ago • 1 comments

When a SICF node is part of the Packgage to be staged, the eclipse plugin fails with: "Access using a 'ZERO' object reference is not possible." image Debugged into the code and the isssues seems to be that zcl_abapgit_res_repo_stage->get the lines

 ls_obj_wbtype = get_object_wb_type(
                iv_obj_name = <ls_repo_items>-obj_name
                iv_obj_type = <ls_repo_items>-obj_type ).
              ls_object-wbkey = cl_wb_object_type=>get_global_id_from_global_type( p_global_type = ls_obj_wbtype ).

Do not determine something for obj_type SICF . In abapGit itself it can be staged only ADT_Backend crashes. Worked around it with a continue if ls_obj_wbtype is initial. But of course the SICF cannot be commited or pushed then. Replication can be easily done with a CDS View and OData publish.

scst0014 avatar Jun 24 '22 16:06 scst0014

image

stevusprimus avatar Jun 24 '22 16:06 stevusprimus