mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
bugfix app state (#1693)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
This commit is contained in:
parent
348afab163
commit
9a433252bf
|
@ -89,22 +89,7 @@ CLASS z2ui5_cl_core_action IMPLEMENTATION.
|
|||
result->ms_actual-check_on_navigated = abap_true.
|
||||
result->ms_next-s_set-set_app_state_active = abap_true.
|
||||
result->mo_app->ms_draft-id_prev_app_stack = ''.
|
||||
" check for new app?
|
||||
* TRY.
|
||||
* DATA(lo_draft) = NEW z2ui5_cl_core_srv_draft( ).
|
||||
* DATA(ls_draft) = lo_draft->read_info( ms_next-o_app_leave->id_draft ).
|
||||
* result->mo_app->ms_draft-id = z2ui5_cl_util=>uuid_get_c32( ).
|
||||
* CATCH cx_root.
|
||||
* result->mo_app->ms_draft-id_prev_app_stack = mo_app->ms_draft-id_prev_app_stack.
|
||||
* RETURN.
|
||||
* ENDTRY.
|
||||
|
||||
* " check for already existing app?
|
||||
* IF mo_app->ms_draft-id_prev_app_stack IS NOT INITIAL.
|
||||
* ls_draft = lo_draft->read_info( mo_app->ms_draft-id_prev_app_stack ).
|
||||
* result->mo_app->ms_draft-id_prev_app_stack = ls_draft-id_prev_app_stack.
|
||||
* ENDIF.
|
||||
|
||||
result->mo_app->ms_draft-id = z2ui5_cl_util=>uuid_get_c32( ).
|
||||
RETURN.
|
||||
CATCH cx_root.
|
||||
ENDTRY.
|
||||
|
|
Loading…
Reference in New Issue
Block a user