Fix: repo sett. display_name ony for online repos

This commit is contained in:
Christian Guenter 2019-03-18 14:15:17 +01:00 committed by Lars Hvam
parent 1248319d82
commit a3c69433fb

View File

@ -282,9 +282,11 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_REPO_SETT IMPLEMENTATION.
ls_settings = mo_repo->get_local_settings( ).
IF mo_repo->is_offline( ) = abap_false.
READ TABLE it_post_fields INTO ls_post_field WITH KEY name = 'display_name'.
ASSERT sy-subrc = 0.
ls_settings-display_name = ls_post_field-value.
ENDIF.
READ TABLE it_post_fields INTO ls_post_field WITH KEY name = 'write_protected' value = 'on'.
IF sy-subrc = 0.