mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Merge pull request #637 from larshp/issue_631
Switch to Branch with long Name results in shortdump
This commit is contained in:
commit
9b19ada3de
|
@ -390,7 +390,13 @@ CLASS lcl_popups IMPLEMENTATION.
|
|||
ELSE.
|
||||
REPLACE FIRST OCCURRENCE OF lv_head_suffix IN <ls_sel>-varoption WITH ''.
|
||||
READ TABLE lt_branches WITH KEY display_name = <ls_sel>-varoption ASSIGNING <ls_branch>.
|
||||
ASSERT sy-subrc = 0.
|
||||
IF sy-subrc <> 0.
|
||||
* branch name longer than 65 characters
|
||||
LOOP AT lt_branches ASSIGNING <ls_branch> WHERE display_name CS <ls_sel>-varoption.
|
||||
EXIT. " current loop
|
||||
ENDLOOP.
|
||||
ENDIF.
|
||||
ASSERT <ls_branch> IS ASSIGNED.
|
||||
rs_branch = lo_branches->find_by_name( <ls_branch>-name ).
|
||||
ENDIF.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user