mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-28 18:26:18 +08:00
bugfix mapper comparison (#1265)
Some checks failed
build_downport / build_downport (push) Has been cancelled
Some checks failed
build_downport / build_downport (push) Has been cancelled
This commit is contained in:
parent
c47f9ee7c1
commit
580e366f45
|
@ -105,10 +105,15 @@ CLASS z2ui5_cl_core_bind_srv IMPLEMENTATION.
|
|||
val = `<p>Binding Error - Two different binding types for same attribute used (` && mr_attri->name && `).`.
|
||||
ENDIF.
|
||||
|
||||
IF mr_attri->custom_mapper IS BOUND AND mr_attri->custom_mapper <> ms_config-custom_mapper.
|
||||
RAISE EXCEPTION TYPE z2ui5_cx_util_error
|
||||
EXPORTING
|
||||
val = `<p>Binding Error - Two different mapper for same attribute used (` && mr_attri->name && `).`.
|
||||
IF mr_attri->custom_mapper IS BOUND.
|
||||
|
||||
DATA(lv_name1) = z2ui5_cl_util=>rtti_get_classname_by_ref( mr_attri->custom_mapper ).
|
||||
DATA(lv_name2) = z2ui5_cl_util=>rtti_get_classname_by_ref( ms_config-custom_mapper ).
|
||||
IF lv_name1 <> lv_name2.
|
||||
RAISE EXCEPTION TYPE z2ui5_cx_util_error
|
||||
EXPORTING
|
||||
val = `<p>Binding Error - Two different mapper for same attribute used (` && mr_attri->name && `).`.
|
||||
ENDIF.
|
||||
ENDIF.
|
||||
|
||||
IF mr_attri->custom_mapper_back IS BOUND AND mr_attri->custom_mapper_back <> ms_config-custom_mapper_back.
|
||||
|
|
Loading…
Reference in New Issue
Block a user