Skip to content

Commit

Permalink
Merge pull request #921 from OP-TED/prepare/1.8.3
Browse files Browse the repository at this point in the history
Prepare release of SDK 1.8.3
  • Loading branch information
yfanti authored May 2, 2024
2 parents 6368e9e + ac1df69 commit ab57d9a
Show file tree
Hide file tree
Showing 195 changed files with 24,130 additions and 8,417 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# SDK 1.8.3 Release Notes

This release brings the following corrections in the validation rules, making them more permissive:

* Removed rules that required the participation request deadline (BT-1311(d)-Lot) to match the end of the DPS.
* Allow change notices with "cancel-intent" to be submitted after the tender deadline has passed.
* Allow change notices to have a dispatch date (BT-05(a)-notice) that is after the "Future Notice" date (BT-127-notice).
* Allow change notices to have a dispatch date (BT-05(a)-notice) that is after the "Deadline Receipt Expressions" (BT-630(d)-Lot).
* Corrected various rules to allow information on framework agreements in contract modification notices (subtypes 38 and 39).
* Removed rule requiring "Notice Framework Maximum Value" (BT-118-NoticeResult) to be the sum of the corresponding values in each lot.

This release also includes updated translations and updated notice visualisation templates.

> [!WARNING]
> Some of the changes in view templates trigger a bug in efx-toolkit-java version 2.0.0-alpha.1 and before, causing an error when translating some templates.
> So if your application uses the view templates and the EFX Toolkit, ensure that you're using efx-toolkit-java version 2.0.0-alpha.2 or later.
A comprehensive list of changes between SDK 1.8.2 and SDK 1.8.3 can be seen at <https://github.com/OP-TED/eForms-SDK/compare/1.8.2...1.8.3>

You can explore the changes between those versions at <https://docs.ted.europa.eu/eforms-sdk-explorer?version=1.8.3&base=1.8.2>

# SDK 1.8.2 Release Notes

This release brings the following corrections in the validation rules, making them more permissive:
Expand Down
26 changes: 6 additions & 20 deletions fields/fields.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ublVersion" : "2.3",
"sdkVersion" : "eforms-sdk-1.8.2",
"sdkVersion" : "eforms-sdk-1.8.3",
"metadataDatabase" : {
"version" : "1.8.0",
"createdOn" : "2023-07-21T15:00:00"
Expand Down Expand Up @@ -2793,7 +2793,7 @@
"value" : true,
"severity" : "ERROR"
}, {
"noticeTypes" : [ "25", "26", "27", "38", "39" ],
"noticeTypes" : [ "25", "26", "27" ],
"condition" : "{ND-NoticeResult} ${(BT-13713-LotResult in BT-137-Lot[BT-765-Lot not in ('fa-mix','fa-w-rc','fa-wo-rc')]) or (BT-709-LotResult is not present)}",
"value" : true,
"severity" : "ERROR"
Expand All @@ -2808,20 +2808,10 @@
"value" : false,
"severity" : "ERROR",
"constraints" : [ {
"noticeTypes" : [ "25", "26", "27", "29", "30", "31", "33", "34", "38", "39" ],
"noticeTypes" : [ "25", "26", "27", "29", "30", "31", "33", "34" ],
"value" : true,
"severity" : "ERROR"
} ]
},
"assert" : {
"value" : "{ND-Root} ${TRUE}",
"severity" : "ERROR",
"constraints" : [ {
"condition" : "{ND-NoticeResult} ${BT-118-NoticeResult is present}",
"value" : "{ND-NoticeResult} ${(not(BT-156-NoticeResult is present) and ((every text:$faMaxCurr in (BT-709-LotResult/@currencyID) satisfies $faMaxCurr == BT-118-NoticeResult/@currencyID) and (BT-118-NoticeResult == sum(BT-709-LotResult)))) or (BT-156-NoticeResult is present) or not(every text:$faMax in (BT-709-LotResult/@currencyID) satisfies $faMax == BT-118-NoticeResult/@currencyID)}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00118-0100"
} ]
}
}, {
"id" : "BT-119-LotResult",
Expand Down Expand Up @@ -3153,6 +3143,7 @@
"value" : "{ND-Root} ${TRUE}",
"severity" : "ERROR",
"constraints" : [ {
"condition" : "{ND-Root} ${BT-758-notice is not present}",
"value" : "{ND-Root} ${(BT-127-notice > BT-05(a)-notice) or not(BT-127-notice is present) or not(BT-05(a)-notice is present)}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00127-0100"
Expand Down Expand Up @@ -3362,7 +3353,7 @@
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00131-0150"
}, {
"condition" : "{ND-LotTenderingProcess} ${(BT-131(d)-Lot is present) and (BT-05(a)-notice is present)}",
"condition" : "{ND-LotTenderingProcess} ${(BT-131(d)-Lot is present) and (BT-05(a)-notice is present) and not(BT-758-notice is present)}",
"value" : "{ND-LotTenderingProcess} ${BT-131(d)-Lot > BT-05(a)-notice}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00131-0151"
Expand Down Expand Up @@ -3455,11 +3446,6 @@
"value" : "{ND-Root} ${TRUE}",
"severity" : "ERROR",
"constraints" : [ {
"condition" : "{ND-LotTenderingProcess} ${(BT-766-Lot in ('dps-list', 'dps-nlist')) and (BT-537-Lot is present) and (BT-1311(d)-Lot is present) }",
"value" : "{ND-LotTenderingProcess} ${BT-1311(d)-Lot == BT-537-Lot}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-01311-0150"
}, {
"condition" : "{ND-LotTenderingProcess} ${(BT-1311(d)-Lot is present) and (BT-130-Lot is present)}",
"value" : "{ND-LotTenderingProcess} ${(BT-1311(d)-Lot < BT-130-Lot)}",
"severity" : "ERROR",
Expand Down Expand Up @@ -18683,7 +18669,7 @@
"value" : "{ND-Root} ${TRUE}",
"severity" : "ERROR",
"constraints" : [ {
"condition" : "{ND-InterestExpressionReceptionPeriod} ${(BT-630(d)-Lot is present) and (BT-05(a)-notice is present)}",
"condition" : "{ND-InterestExpressionReceptionPeriod} ${(BT-630(d)-Lot is present) and (BT-05(a)-notice is present) and (BT-758-notice is not present)}",
"value" : "{ND-InterestExpressionReceptionPeriod} ${BT-630(d)-Lot > BT-05(a)-notice}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00630-0150"
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>eu.europa.ted.eforms</groupId>
<artifactId>eforms-sdk</artifactId>
<version>1.8.2</version>
<version>1.8.3</version>
<packaging>jar</packaging>

<name>eForms SDK</name>
Expand Down Expand Up @@ -48,12 +48,12 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.outputTimestamp>2024-01-23T10:45:07Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2024-04-26T14:01:38Z</project.build.outputTimestamp>

<sonatype.server.url>s01.oss.sonatype.org</sonatype.server.url>

<!-- Versions eForms -->
<version.eforms-sdk-analyzer>1.8.0</version.eforms-sdk-analyzer>
<version.eforms-sdk-analyzer>1.8.1</version.eforms-sdk-analyzer>

<!-- Versions - Plugins -->
<version.dependency.plugin>3.5.0</version.dependency.plugin>
Expand Down
8 changes: 0 additions & 8 deletions schematrons/dynamic/validation-stage-4.sch
Original file line number Diff line number Diff line change
Expand Up @@ -4032,14 +4032,6 @@
<assert id="BR-BT-00803-0041" role="ERROR" diagnostics="BT-803_t_-notice" test="count(efbc:TransmissionTime) &gt; 0 or not(efbc:TransmissionDate)">rule|text|BR-BT-00803-0041</assert>
<assert id="BR-BT-00803-0091" role="ERROR" diagnostics="BT-803_t_-notice" test="count(efbc:TransmissionTime) = 0 or (efbc:TransmissionDate)">rule|text|BR-BT-00803-0091</assert>
</rule>
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult[$noticeSubType = '38']">
<assert id="BR-BT-00118-0047" role="ERROR" diagnostics="BT-118-NoticeResult" test="count(efbc:OverallMaximumFrameworkContractsAmount) = 0 or not((efac:LotResult/efac:TenderLot/cbc:ID/normalize-space(text()) = ../../../../../cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cbc:ID[not(../cac:TenderingProcess/cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']/normalize-space(text()) = ('fa-mix','fa-w-rc','fa-wo-rc'))]/normalize-space(text())) or (not(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))">rule|text|BR-BT-00118-0047</assert>
<assert id="BR-BT-00118-0061" role="ERROR" diagnostics="BT-118-NoticeResult" test="count(efbc:OverallMaximumFrameworkContractsAmount) &gt; 0 or ((efac:LotResult/efac:TenderLot/cbc:ID/normalize-space(text()) = ../../../../../cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cbc:ID[not(../cac:TenderingProcess/cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']/normalize-space(text()) = ('fa-mix','fa-w-rc','fa-wo-rc'))]/normalize-space(text())) or (not(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))">rule|text|BR-BT-00118-0061</assert>
</rule>
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult[$noticeSubType = '39']">
<assert id="BR-BT-00118-0048" role="ERROR" diagnostics="BT-118-NoticeResult" test="count(efbc:OverallMaximumFrameworkContractsAmount) = 0 or not((efac:LotResult/efac:TenderLot/cbc:ID/normalize-space(text()) = ../../../../../cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cbc:ID[not(../cac:TenderingProcess/cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']/normalize-space(text()) = ('fa-mix','fa-w-rc','fa-wo-rc'))]/normalize-space(text())) or (not(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))">rule|text|BR-BT-00118-0048</assert>
<assert id="BR-BT-00118-0062" role="ERROR" diagnostics="BT-118-NoticeResult" test="count(efbc:OverallMaximumFrameworkContractsAmount) &gt; 0 or ((efac:LotResult/efac:TenderLot/cbc:ID/normalize-space(text()) = ../../../../../cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cbc:ID[not(../cac:TenderingProcess/cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']/normalize-space(text()) = ('fa-mix','fa-w-rc','fa-wo-rc'))]/normalize-space(text())) or (not(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))">rule|text|BR-BT-00118-0062</assert>
</rule>
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult[$noticeSubType = '33']">
<assert id="BR-BT-00118-0042" role="ERROR" diagnostics="BT-118-NoticeResult" test="count(efbc:OverallMaximumFrameworkContractsAmount) &gt; 0 or (not(efac:LotResult/cbc:TenderResultCode[../efac:TenderLot/cbc:ID/normalize-space(text()) = ../../../../../../../cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cbc:ID[../cac:TenderingProcess/cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']/normalize-space(text()) = ('fa-mix','fa-w-rc','fa-wo-rc')]/normalize-space(text())]/normalize-space(text()) = 'selec-w') or (not(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))">rule|text|BR-BT-00118-0042</assert>
<assert id="BR-BT-00118-0055" role="ERROR" diagnostics="BT-118-NoticeResult" test="count(efbc:OverallMaximumFrameworkContractsAmount) = 0 or not(not(efac:LotResult/cbc:TenderResultCode[../efac:TenderLot/cbc:ID/normalize-space(text()) = ../../../../../../../cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cbc:ID[../cac:TenderingProcess/cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']/normalize-space(text()) = ('fa-mix','fa-w-rc','fa-wo-rc')]/normalize-space(text())]/normalize-space(text()) = 'selec-w') or (not(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))">rule|text|BR-BT-00118-0055</assert>
Expand Down
Loading

0 comments on commit ab57d9a

Please sign in to comment.