mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Fix dump ASSERTION_FAILED (#5190)
"Exists check" might be called for objects without `TADIR` entry (like `NSPC`).
Regression of #4952 which removed the "if"
a72d3314cb (diff-4a3135e0f538157951fefdea06986dc644f6005a2af7f6917ff7f7f2f771f622L299)
This commit is contained in:
parent
1bed7ae318
commit
9e629475dc
|
@ -799,6 +799,11 @@ CLASS zcl_abapgit_objects IMPLEMENTATION.
|
|||
|
||||
DATA: li_obj TYPE REF TO zif_abapgit_object.
|
||||
|
||||
" Might be called for objects without tadir entry
|
||||
IF is_item IS INITIAL.
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
" For unsupported objects, assume object exists
|
||||
IF is_type_supported( is_item-obj_type ) = abap_false.
|
||||
rv_bool = abap_true.
|
||||
|
|
Loading…
Reference in New Issue
Block a user