Skip to content

Commit c974748

Browse files
committed
446 remove oracle specific links from install guide md
450 add exception regression bug
1 parent ec8f431 commit c974748

File tree

11 files changed

+79
-140
lines changed

11 files changed

+79
-140
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env bash
2+
# set -o pipefail
3+
set -e
4+
5+
# 24.2.8
6+
# usage build_zip.sh 24.2.9
7+
buildVersion="$1"
8+
9+
if [[ -z "$buildVersion" ]]
10+
then
11+
echo "Build version must be set in argument 1. Typically 24.1.10, where 24.1 is" >&2
12+
echo "the APEX version, and 10 is the 10th version for that APEX version." >&2
13+
echo ""
14+
echo "Example: ./development/scripts/build_release.sh 24.1.10"
15+
16+
exit 1
17+
fi
18+
19+
targetFile="sert_${buildVersion}.zip"
20+
21+
# Create a temporary folder to copy files into that we want to form the zip/release
22+
# This file-set may evolve over time.
23+
tmpDir=$(mktemp -d -p .)
24+
25+
# solution
26+
PRODUCT_FILES='product doc controller.xml install_prod.sql install.sql sert.properties README.md'
27+
cp -r ${PRODUCT_FILES} "${tmpDir}/"
28+
29+
(cd "${tmpDir}" && zip -r "../${targetFile}" ./*)
30+
31+
# We have no need for the temp folder now we have zipped up all the files
32+
rm -rf "${tmpDir}"

development/scripts/push_release.sh

Lines changed: 0 additions & 74 deletions
This file was deleted.

doc/release_notes.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,11 @@ Bug (Non BugDB)
1515

1616
## 24.2.8
1717

18-
[GAT-435] - Remove APEX version from exception checksum checks in exception export/import
19-
20-
[GAT-436] - github#16 When custom image used for application, it does not render in SERT
21-
22-
[GAT-423] - avoid reference to sert_core tables within APP for AOP and DocGen
23-
24-
[GAT-427] - SERT Open Source - How to enable AOP
25-
26-
[GAT-431] - move sert_pub AOP grants to aop product folder
27-
28-
[GAT-432] - comments don't appear after creation when running sert in other workspaces
29-
30-
[GAT-433] - sert_core.schedule_api.process_eval_summary_results fails with large result sets
31-
32-
[GAT-434] - After uploading exception from API, no exceptions are logged
18+
- Remove APEX version from exception checksum checks in exception export/import
19+
- github#16 When custom image used for application, it does not render in SERT
20+
- avoid reference to sert_core tables within APP for AOP and DocGen
21+
- SERT Open Source - How to enable AOP
22+
- move sert_pub AOP grants to aop product folder
23+
- comments don't appear after creation when running sert in other workspaces
24+
- sert_core.schedule_api.process_eval_summary_results fails with large result sets
25+
- After uploading exception from API, no exceptions are logged

product/sert/apex/application/f2100/application/create_application.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- file_checksum: FCA4892F61E22203BF84C2275C67FB99249DE8641D57F31B5719B29B680CB390
1+
-- file_checksum: 6441A4679B22C7B047D536198F1E913A374477D29A5044DFFB0D59F8997F70A7
22
prompt --application/create_application
33
begin
44
-- Manifest
@@ -55,7 +55,7 @@ wwv_imp_workspace.create_flow(
5555
,p_substitution_value_01=>'APEX-SERT'
5656
,p_file_prefix => nvl(wwv_flow_application_install.get_static_app_file_prefix,'')
5757
,p_files_version=>204
58-
,p_version_scn=>44714464236177
58+
,p_version_scn=>44757807723940
5959
,p_print_server_type=>'INSTANCE'
6060
,p_file_storage=>'DB'
6161
,p_is_pwa=>'Y'

product/sert/apex/application/f2100/application/pages/page_00001.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- file_checksum: C59FF34B9F98B58423D50D98D701F4A8E808024DA20BA446C1D915A1F94A5EE1
1+
-- file_checksum: 71E0B3749957370B9DBFCB8FB2DFCB41AF8042CDEF66588E7B1DB194A6DA0780
22
-------------------------------------------------------------------------------
33
-- Copyright (c) 2024,2025 Oracle and/or its affiliates.
44
-- Licensed under the Universal Permissive License v 1.0 as shown
@@ -170,6 +170,7 @@ wwv_flow_imp_page.create_region_column(
170170
,p_source_type=>'DB_COLUMN'
171171
,p_source_expression=>'APP_IMAGE2'
172172
,p_data_type=>'VARCHAR2'
173+
,p_session_state_data_type=>'VARCHAR2'
173174
,p_display_sequence=>260
174175
,p_is_group=>false
175176
,p_use_as_row_header=>false

product/sert/apex/application/f2100/application/pages/page_00030.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- file_checksum: 9EBE1DF05B140BB0571BFE5D0D394C7616EB9E6B72B920842B5D65B66440A70C
1+
-- file_checksum: A934F974A742649EDB9653998869D885AFAA5A0A32C38AD245D02ED2F566F819
22
-------------------------------------------------------------------------------
33
-- Copyright (c) 2024,2025 Oracle and/or its affiliates.
44
-- Licensed under the Universal Permissive License v 1.0 as shown
@@ -1020,7 +1020,7 @@ wwv_flow_imp_shared.create_invokeapi_comp_param(
10201020
p_id=>wwv_flow_imp.id(480716556057443201)
10211021
,p_page_process_id=>wwv_flow_imp.id(479964127125940297)
10221022
,p_page_id=>30
1023-
,p_name=>'p_curernt_value'
1023+
,p_name=>'p_current_value'
10241024
,p_direction=>'IN'
10251025
,p_data_type=>'VARCHAR2'
10261026
,p_has_default=>false

product/sert/apex/application/f2100/application/pages/page_00280.sql

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- file_checksum: 3C6EA601AC001689A780DC603FDB516F97F524021ABF890397AA1BC46127503D
1+
-- file_checksum: 0A69AA6A58CCDA6F3F6F85A21F15F996C0CFF62326D7CF5A3754BE21FB4CB573
22
-------------------------------------------------------------------------------
33
-- Copyright (c) 2024,2025 Oracle and/or its affiliates.
44
-- Licensed under the Universal Permissive License v 1.0 as shown
@@ -60,13 +60,13 @@ wwv_flow_imp_page.create_page_plug(
6060
' decode(er1.result,''FAIL'',NULL,er1.result) approved_flag',
6161
'from',
6262
' sert_core.eval_results_pub_v er1,',
63-
' sert_core.categories ca1,',
64-
' sert_core.rules ru1',
63+
' sert_core.categories_v ca1,',
64+
' sert_core.rules_pub_v ru1',
6565
'where 1=1',
6666
'and er1.eval_id = :P280_EVAL_ID --SYS_CONTEXT(''SV_SERT_CTX'', ''COLLECTION_ID'')',
6767
'and er1.result not like ''%PASS%''',
6868
'and er1.category_key = ca1.category_key',
69-
'and ca1.category_id = ru1.category_id',
69+
'and ca1.category_key = ru1.category_key',
7070
'and ru1.rule_id = er1.rule_id',
7171
'and (:P280_CATEGORY is null or :P280_CATEGORY = ca1.category_key)',
7272
'order by ca1.category_id, er1.rule_id'))
@@ -273,39 +273,23 @@ wwv_flow_imp_page.create_worksheet_column(
273273
,p_use_as_row_header=>'N'
274274
);
275275
wwv_flow_imp_page.create_worksheet_column(
276-
p_id=>wwv_flow_imp.id(49194528244990822)
276+
p_id=>wwv_flow_imp.id(12988191508532929)
277277
,p_db_column_name=>'INFO'
278278
,p_display_order=>160
279-
,p_column_identifier=>'P'
279+
,p_column_identifier=>'R'
280280
,p_column_label=>'Info'
281-
,p_allow_sorting=>'N'
282-
,p_allow_ctrl_breaks=>'N'
283-
,p_allow_aggregations=>'N'
284-
,p_allow_computations=>'N'
285-
,p_allow_charting=>'N'
286-
,p_allow_group_by=>'N'
287-
,p_allow_pivot=>'N'
288-
,p_column_type=>'CLOB'
281+
,p_column_type=>'STRING'
289282
,p_heading_alignment=>'LEFT'
290-
,p_rpt_show_filter_lov=>'N'
291283
,p_use_as_row_header=>'N'
292284
);
293285
wwv_flow_imp_page.create_worksheet_column(
294-
p_id=>wwv_flow_imp.id(49194642796990823)
286+
p_id=>wwv_flow_imp.id(12988285977532930)
295287
,p_db_column_name=>'FIX'
296288
,p_display_order=>170
297-
,p_column_identifier=>'Q'
289+
,p_column_identifier=>'S'
298290
,p_column_label=>'Fix'
299-
,p_allow_sorting=>'N'
300-
,p_allow_ctrl_breaks=>'N'
301-
,p_allow_aggregations=>'N'
302-
,p_allow_computations=>'N'
303-
,p_allow_charting=>'N'
304-
,p_allow_group_by=>'N'
305-
,p_allow_pivot=>'N'
306-
,p_column_type=>'CLOB'
291+
,p_column_type=>'STRING'
307292
,p_heading_alignment=>'LEFT'
308-
,p_rpt_show_filter_lov=>'N'
309293
,p_use_as_row_header=>'N'
310294
);
311295
wwv_flow_imp_page.create_worksheet_rpt(
@@ -315,7 +299,7 @@ wwv_flow_imp_page.create_worksheet_rpt(
315299
,p_report_alias=>'492095'
316300
,p_status=>'PUBLIC'
317301
,p_is_default=>'Y'
318-
,p_report_columns=>'APPLICATION_ID:CATEGORY_NAME:RULE_NAME:PAGE_ID:DESCRIPTION:RESULT:CURRENT_VALUE:'
302+
,p_report_columns=>'APPLICATION_ID:CATEGORY_NAME:RULE_NAME:PAGE_ID:DESCRIPTION:RESULT:CURRENT_VALUE'
319303
,p_sort_column_1=>'CATEGORY_NAME'
320304
,p_sort_direction_1=>'ASC'
321305
,p_sort_column_2=>'RULE_NAME'

product/sert/apex/application/f2100/application/pages/page_00302.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- file_checksum: B382B39EDDD236E434124F559FEC3730DB8BBBE7F2A12155998CF86ED9B6231C
1+
-- file_checksum: F32FE66015A41865A5799CB8929912EBA10FF2AA61DF83524E9C0164515398A1
22
-------------------------------------------------------------------------------
33
-- Copyright (c) 2024,2025 Oracle and/or its affiliates.
44
-- Licensed under the Universal Permissive License v 1.0 as shown
@@ -296,7 +296,8 @@ wwv_flow_imp_page.create_page_process(
296296
'',
297297
' select sert_core.is_reports_api.attributes_master_report_json (',
298298
' p_eval_id => :P10_EVAL_ID,',
299-
' p_app_id => :APP_ID)',
299+
' p_app_id => :APP_ID,',
300+
' p_apex_version => :G_APEX_VERSION)',
300301
' into l_json',
301302
' from dual;',
302303
'',

product/sert/apex/application/f2100/install.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
prompt app_checksum: 6D916DD1092946913C2A821B820736AA91E301F26345532B04F0905D80376721
1+
prompt app_checksum: CBD8C0D975882143E28372149D6DCD492A0E8A4E386E71B7D883E2053B3A2FCD
22
-------------------------------------------------------------------------------
33
-- Copyright (c) 2024,2025 Oracle and/or its affiliates.
44
-- Licensed under the Universal Permissive License v 1.0 as shown

product/sert/sert_core/package_body/is_reports_api.pkb.sql

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ as
108108
returning clob)
109109
from
110110
sert_core.eval_results_pub_v ers1,
111-
sert_core.categories cat1
111+
sert_core.categories_v cat1
112112
where ers1.category_key = cat.category_key
113113
and ers1.eval_id = p_eval_id
114114
and ers1.result not like '%PASS%'
@@ -120,7 +120,7 @@ as
120120
returning clob)
121121
returning clob pretty) as report_data
122122
into l_json
123-
from sert_core.categories cat,
123+
from sert_core.categories_v cat,
124124
sert_core.evals_v eva
125125
where eva.eval_id = p_eval_id;
126126

@@ -183,11 +183,11 @@ as
183183
returning clob)
184184
returning clob pretty) as report_data
185185
into l_json
186-
from sert_core.categories cat,
187-
sert_core.rules rul,
186+
from sert_core.categories_v cat,
187+
sert_core.rules_pub_v rul,
188188
sert_core.evals_v eva
189-
where rul.category_id = cat.category_id
190-
and exists (select 1 from sert_core.eval_results er
189+
where rul.category_key = cat.category_key
190+
and exists (select 1 from sert_core.eval_results_pub_v er
191191
where er.eval_id = p_eval_id
192192
and er.rule_id = rul.rule_id
193193
and er.result not like '%PASS%')
@@ -255,10 +255,10 @@ as
255255
returning clob)
256256
returning clob pretty) as report_data
257257
into l_json
258-
from sert_core.categories cat,
259-
sert_core.rules rul,
260-
sert_core.evals_v eva
261-
where rul.category_id = cat.category_id
258+
from sert_core.categories_v cat,
259+
sert_core.rules_pub_v rul,
260+
sert_core.evals_v eva
261+
where rul.category_key = cat.category_key
262262
and exists (select 1 from sert_core.exceptions_v ev
263263
where ev.rule_id = rul.rule_id)
264264
and eva.eval_id = p_eval_id;
@@ -276,7 +276,8 @@ end evaluation_exception_report_json;
276276
------------------------------------------------------------------------------
277277
function attributes_master_report_json (
278278
p_eval_id NUMBER,
279-
p_app_id NUMBER)
279+
p_app_id NUMBER,
280+
p_apex_version VARCHAR2)
280281
return clob
281282
------------------------------------------------------------------------------
282283
is
@@ -304,9 +305,9 @@ end evaluation_exception_report_json;
304305
returning clob)
305306
order by rul1.rule_name
306307
returning clob)
307-
from
308-
sert_core.rules rul1
309-
where rul1.category_id = cat.category_id
308+
from sert_core.rules_v rul1
309+
where rul1.category_key = cat.category_key
310+
and apex_version = p_apex_version
310311
group by rul1.rule_name, rul1.rule_id
311312
)
312313
returning clob
@@ -315,7 +316,7 @@ end evaluation_exception_report_json;
315316
returning clob)
316317
returning clob pretty) as report_data
317318
into l_json
318-
from sert_core.categories cat,
319+
from sert_core.categories_v cat,
319320
sert_core.evals_v eva
320321
where eva.eval_id = p_eval_id;
321322

0 commit comments

Comments
 (0)