mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
Dump on assert rv_user, fix #1960
This commit is contained in:
parent
7be37d4acd
commit
ef2b90c0a9
|
@ -214,17 +214,16 @@ CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION.
|
|||
|
||||
DATA: li_obj TYPE REF TO zif_abapgit_object.
|
||||
|
||||
|
||||
IF is_item IS INITIAL.
|
||||
* eg. ".abapgit.xml" file
|
||||
rv_user = zcl_abapgit_objects_super=>c_user_unknown.
|
||||
ELSE.
|
||||
IF is_item IS NOT INITIAL.
|
||||
li_obj = create_object( is_item = is_item
|
||||
iv_language = zif_abapgit_definitions=>c_english ).
|
||||
rv_user = li_obj->changed_by( ).
|
||||
ENDIF.
|
||||
|
||||
ASSERT NOT rv_user IS INITIAL.
|
||||
IF rv_user IS INITIAL.
|
||||
* eg. ".abapgit.xml" file
|
||||
rv_user = zcl_abapgit_objects_super=>c_user_unknown.
|
||||
ENDIF.
|
||||
|
||||
* todo, fallback to looking at transports if rv_user = 'UNKNOWN'?
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user