From bb9b35ed0570af12e03ca0ed746a55776695f361 Mon Sep 17 00:00:00 2001 From: "Nam.Chu" Date: Mon, 16 Sep 2024 10:19:58 +0700 Subject: [PATCH] IVYPORTAL-17214 Portal LE breadcrumb not display on some task - Fix bug --- .../Start Processes/CreateTestData.p.json | 18 +++++------------- .../LeaveRequestForm/LeaveRequestForm.xhtml | 3 +++ .../testdata/NewPayment/NewPayment.xhtml | 5 +++-- .../testdata/NewPayment/NewPaymentData.d.json | 11 +---------- 4 files changed, 12 insertions(+), 25 deletions(-) diff --git a/Showcase/portal-developer-examples/processes/Start Processes/CreateTestData.p.json b/Showcase/portal-developer-examples/processes/Start Processes/CreateTestData.p.json index 14f8a6da235..53af4f1e022 100644 --- a/Showcase/portal-developer-examples/processes/Start Processes/CreateTestData.p.json +++ b/Showcase/portal-developer-examples/processes/Start Processes/CreateTestData.p.json @@ -612,8 +612,7 @@ { "name" : "AccountNumber", "type" : "NUMBER", "value" : "14" }, { "name" : "CustomerName", "type" : "STRING", "value" : "\"Tung Le\"" }, { "name" : "CustomerType", "type" : "STRING", "value" : "\"Interior\"" }, - { "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" }, - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"true\"" } + { "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" } ] }, { "id" : "TaskA", @@ -632,8 +631,7 @@ { "name" : "AccountNumber", "type" : "NUMBER", "value" : "7" }, { "name" : "CustomerName", "type" : "STRING", "value" : "\"Long Do\"" }, { "name" : "CustomerType", "type" : "STRING", "value" : "\"Exterior\"" }, - { "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" }, - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"true\"" } + { "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" } ] }, { "id" : "TaskC", @@ -651,8 +649,7 @@ { "name" : "AccountNumber", "type" : "NUMBER", "value" : "13" }, { "name" : "CustomerName", "type" : "STRING", "value" : "\"Anh Nguyen\"" }, { "name" : "CustomerType", "type" : "STRING", "value" : "\"Interior\"" }, - { "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" }, - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"true\"" } + { "name" : "ShipmentDate", "type" : "TIMESTAMP", "value" : "new DateTime()" } ] } ], "case" : { @@ -701,8 +698,7 @@ { "name" : "ProcessCategoryName", "type" : "STRING", "value" : "\"Publication Requested\"" }, { "name" : "ProcessCode", "type" : "STRING", "value" : "\"pubRequested\"" }, { "name" : "ProcessName", "type" : "STRING", "value" : "\"Publication Requested\"" }, - { "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" }, - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" } + { "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" } ] } }, @@ -940,7 +936,6 @@ "level" : "HIGH" }, "customFields" : [ - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" }, { "name" : "employee", "type" : "STRING", "value" : "\"Tung Le\"" } ] }, { @@ -953,7 +948,6 @@ }, "customFields" : [ { "name" : "days", "type" : "TIMESTAMP", "value" : "new DateTime()" }, - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" }, { "name" : "employee", "type" : "STRING", "value" : "\"Long Do\"" } ] }, { @@ -968,7 +962,6 @@ "level" : "LOW" }, "customFields" : [ - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" }, { "name" : "employee", "type" : "STRING", "value" : "\"Anh Nguyen\"" } ] } ], @@ -1056,8 +1049,7 @@ { "name" : "ProcessCategoryName", "type" : "STRING", "value" : "\"Publication Requested\"" }, { "name" : "ProcessCode", "type" : "STRING", "value" : "\"pubRequested\"" }, { "name" : "ProcessName", "type" : "STRING", "value" : "\"Publication Requested\"" }, - { "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" }, - { "name" : "embedInFrame", "type" : "STRING", "value" : "\"false\"" } + { "name" : "SupportData", "type" : "STRING", "value" : "\"Leave Request SupportData\"" } ] } }, diff --git a/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/LeaveRequestForm/LeaveRequestForm.xhtml b/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/LeaveRequestForm/LeaveRequestForm.xhtml index e0c8887a7b7..87a1f301e8c 100644 --- a/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/LeaveRequestForm/LeaveRequestForm.xhtml +++ b/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/LeaveRequestForm/LeaveRequestForm.xhtml @@ -5,6 +5,9 @@ + diff --git a/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPayment.xhtml b/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPayment.xhtml index 253235b252e..e62be89eb3c 100644 --- a/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPayment.xhtml +++ b/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPayment.xhtml @@ -5,10 +5,11 @@ NewPayment - - + diff --git a/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPaymentData.d.json b/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPaymentData.d.json index 2e63a41a62b..b007f2b575c 100644 --- a/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPaymentData.d.json +++ b/Showcase/portal-developer-examples/src_hd/com/axonivy/portal/developerexamples/testdata/NewPayment/NewPaymentData.d.json @@ -2,14 +2,5 @@ "$schema" : "https://json-schema.axonivy.com/data-class/11.4.0/data-class.json", "simpleName" : "NewPaymentData", "namespace" : "com.axonivy.portal.developerexamples.testdata.NewPayment", - "isBusinessCaseData" : false, - "fields" : [ { - "name" : "actualStepIndex", - "type" : "Number", - "modifiers" : [ "PERSISTENT" ] - }, { - "name" : "steps", - "type" : "java.util.List", - "modifiers" : [ "PERSISTENT" ] - } ] + "isBusinessCaseData" : false } \ No newline at end of file