mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
AFF: Fix existence check (#5803)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
parent
4a5263d0ba
commit
f8564cb679
|
@ -294,7 +294,9 @@ CLASS zcl_abapgit_object_common_aff IMPLEMENTATION.
|
||||||
result = rv_bool.
|
result = rv_bool.
|
||||||
|
|
||||||
CATCH cx_root INTO lx_error.
|
CATCH cx_root INTO lx_error.
|
||||||
zcx_abapgit_exception=>raise_with_text( lx_error ).
|
" return false instead of raising exception, because abapGit assumes
|
||||||
|
" that raising exception = existing object
|
||||||
|
rv_bool = abap_false.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
@ -354,7 +356,6 @@ CLASS zcl_abapgit_object_common_aff IMPLEMENTATION.
|
||||||
lv_json_as_xstring TYPE xstring,
|
lv_json_as_xstring TYPE xstring,
|
||||||
lx_exception TYPE REF TO cx_root,
|
lx_exception TYPE REF TO cx_root,
|
||||||
lv_name TYPE c LENGTH 120,
|
lv_name TYPE c LENGTH 120,
|
||||||
lv_is_deletion TYPE abap_bool VALUE abap_false,
|
|
||||||
lv_dummy TYPE string.
|
lv_dummy TYPE string.
|
||||||
|
|
||||||
FIELD-SYMBOLS: <ls_intf_aff_obj> TYPE any,
|
FIELD-SYMBOLS: <ls_intf_aff_obj> TYPE any,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user