mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
objects: do not consider only native objects as supported (#4611)
After the pull request: https://github.com/abapGit/abapGit/pull/4589 Objects supported by abapGit-plugins are not deserialized and all are reported as not supported. Closes #4610 Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
043d8e1ef2
commit
cce8660054
|
@ -1253,7 +1253,6 @@ CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION.
|
||||||
METHOD supported_list.
|
METHOD supported_list.
|
||||||
|
|
||||||
DATA: lt_objects TYPE STANDARD TABLE OF ko100,
|
DATA: lt_objects TYPE STANDARD TABLE OF ko100,
|
||||||
lv_supported TYPE abap_bool,
|
|
||||||
ls_item TYPE zif_abapgit_definitions=>ty_item.
|
ls_item TYPE zif_abapgit_definitions=>ty_item.
|
||||||
|
|
||||||
FIELD-SYMBOLS <ls_object> LIKE LINE OF lt_objects.
|
FIELD-SYMBOLS <ls_object> LIKE LINE OF lt_objects.
|
||||||
|
@ -1272,11 +1271,7 @@ CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION.
|
||||||
LOOP AT lt_objects ASSIGNING <ls_object> WHERE pgmid = 'R3TR'.
|
LOOP AT lt_objects ASSIGNING <ls_object> WHERE pgmid = 'R3TR'.
|
||||||
ls_item-obj_type = <ls_object>-object.
|
ls_item-obj_type = <ls_object>-object.
|
||||||
|
|
||||||
lv_supported = is_supported(
|
IF is_supported( ls_item ) = abap_true.
|
||||||
is_item = ls_item
|
|
||||||
iv_native_only = abap_true ).
|
|
||||||
|
|
||||||
IF lv_supported = abap_true.
|
|
||||||
INSERT <ls_object>-object INTO TABLE rt_types.
|
INSERT <ls_object>-object INTO TABLE rt_types.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user