Skip to content

Commit 9dc32b8

Browse files
authored
1.13.2 (#364)
* 1.13.2 * fixes #363 (#365) * Update changelog.txt * Update changelog.txt Co-authored-by: Lucas Borin <i840577>
1 parent deaf7ce commit 9dc32b8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Upgrade Note
1212
------------------
1313
Whenever you upgrade code pal for ABAP, it is highly recommended to execute the Y_CI_CHECK_REGISTRATION report to activate/reactivate the Checks (SE38 transaction) and regenerate the respective code inspector variant (SCI transaction)
1414

15+
2021-04-08 v.1.13.2
16+
------------------
17+
* Dump in Y_CHECK_DB_ACCESS_IN_UT (#363)
18+
1519
2021-04-05 v.1.13.1
1620
------------------
1721
* Y_CHECK_DB_ACCESS_IN_UT on INSERT INTO internal table (#348)

src/checks/y_check_db_access_in_ut.clas.abap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ CLASS y_check_db_access_in_ut DEFINITION PUBLIC INHERITING FROM y_check_base CRE
6161
METHODS is_part_of_framework IMPORTING structure TYPE sstruc
6262
RETURNING VALUE(result) TYPE abap_bool.
6363

64-
METHODS is_persistent_object IMPORTING obj_name TYPE string
64+
METHODS is_persistent_object IMPORTING obj_name TYPE tadir-obj_name
6565
RETURNING VALUE(result) TYPE abap_bool.
6666

6767
METHODS is_internal_table IMPORTING statement TYPE sstmnt
@@ -140,7 +140,11 @@ CLASS Y_CHECK_DB_ACCESS_IN_UT IMPLEMENTATION.
140140
WHEN third_token = keys-into THEN fourth_token
141141
ELSE second_token ).
142142

143-
result = xsdbool( is_persistent_object( table_name ) = abap_false ).
143+
IF strlen( table_name ) > 40.
144+
RETURN.
145+
ENDIF.
146+
147+
result = xsdbool( is_persistent_object( CONV #( table_name ) ) = abap_false ).
144148
ENDMETHOD.
145149

146150

src/y_code_pal_version.intf.abap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
INTERFACE y_code_pal_version PUBLIC.
2-
CONSTANTS abap TYPE string VALUE '1.13.1' ##NO_TEXT.
2+
CONSTANTS abap TYPE string VALUE '1.13.2' ##NO_TEXT.
33
ENDINTERFACE.

0 commit comments

Comments
 (0)