OP-TED / eForms-SDK

eForms is the notification standard for public procurement procedures in the EU. The eForms SDK is a collection of resources providing the foundation for building eForms applications.
Creative Commons Attribution 4.0 International
59 stars 30 forks source link

Issue with PhysicalModel generation of eforms-core-java library #693

Closed vinamato closed 1 year ago

vinamato commented 1 year ago

Hi, as per title, we're struggling in trying to generate a Physical model with notice subtype 16. The problem is that the final XML is loosing the "LOT-0001" references in GR-Lot group of the visual model. We're using the eforms core library and the endpoint "/xml/notice/save/validation/none" of he following demo project: https://github.com/OP-TED/eforms-notice-editor

Could you please tell if we're missing something in the visualModel?

vinamato commented 1 year ago

Please find below the visual model used:

visualModel.json ```` { "contentId": "notice-root", "contentType": null, "contentCount": "1", "children": [ { "contentId": "notice-metadata", "contentType": "notice-metadata", "contentCount": "1", "children": [ { "contentId": "BT-02-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-03-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-04-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-701-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "884d16cd-879b-4484-9522-7e9a1884afed" }, { "contentId": "BT-757-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "01" }, { "contentId": "BT-702(a)-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-702(b)-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-05(a)-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-05(b)-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-738-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-001-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "2.3" }, { "contentId": "OPT-002-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "eforms-sdk-1.8.0" }, { "contentId": "OPP-070-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "16" }, { "contentId": "OPP-010-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPP-011-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPP-012-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field" }, { "contentId": "notice-data", "contentType": "notice-data", "contentCount": "1", "children": [ { "contentId": "GR-ContractingAuthority", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "OPT-300-Procedure-Buyer", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-11-Procedure-Buyer", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-10-Procedure-Buyer", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-508-Procedure-Buyer", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Procedure-SProvider", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "OPT-300-Procedure-SProvider", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-030-Procedure-SProvider", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-ServiceProviderParty" } ], "visType": "non-field", "visNodeId": "ND-ContractingParty" }, { "contentId": "GR-Previous-Notice", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "OPP-090-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-PreviousNoticeReference" }, { "contentId": "BT-01-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Procedure-LocalLegalBasisWithID", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-01(c)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-01(d)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LocalLegalBasisWithID" }, { "contentId": "GR-Procedure-LocalLegalBasisNoID", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-01(e)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-01(f)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LocalLegalBasisNoID" }, { "contentId": "BT-22-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-21-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-24-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-23-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Procedure-Additional-Nature", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-531-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-ProcedureContractAdditionalNature" }, { "contentId": "BT-27-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-271-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-26(m)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-262-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Procedure-Scope-AdditionalClassification", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-26(a)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-263-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-ProcedureAdditionalCommodityClassification" }, { "contentId": "GR-Procedure-PlaceOfPerformance", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-5101(a)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5101(b)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5101(c)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5131-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5121-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5071-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5141-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-727-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-728-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-ProcedurePlacePerformanceAdditionalInformation" }, { "contentId": "GR-Procedure-ExclusionGrounds", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-67(a)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-67(b)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-ExclusionGrounds" }, { "contentId": "BT-09(a)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-09(b)-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-634-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-88-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-105-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-106-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-1351-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-763-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-300-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Procedure-LotDistribution", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-Procedure-GroupComposition", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-330-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Group-Composition-Reference", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-1375-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-GroupCompositionLotReference" } ], "visType": "non-field", "visNodeId": "ND-GroupComposition" }, { "contentId": "BT-31-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-33-Procedure", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotDistribution" }, { "contentId": "GR-Lot", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-Lot-Purpose", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-137-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "LOT-0001" }, { "contentId": "GR-Lot-PreviousPlanning", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-125(i)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-1251-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotPreviousPlanning" }, { "contentId": "BT-22-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "LOT-0001" }, { "contentId": "BT-21-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "title_LOT-0001" }, { "contentId": "BT-24-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "description_LOT-0001" }, { "contentId": "BT-23-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-Additional-Nature", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-531-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotContractAdditionalNature" }, { "contentId": "BT-25-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-625-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-726-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-27-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-26(m)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-262-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-Scope-AdditionalClassification", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-26(a)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-263-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotAdditionalClassification" }, { "contentId": "GR-Lot-Environmental-Impact", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-774-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotEnvironmentalImpactType" }, { "contentId": "GR-Lot-Social-Objective", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-775-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotSocialObjectiveType" }, { "contentId": "GR-Lot-Innovation-Procurement", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-776-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotInnovativeAcquisitionType" }, { "contentId": "GR-Lot-ProcurementType-Strategic", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-06-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-777-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-StrategicProcurementType" }, { "contentId": "GR-Lot-ProcurementType-Accessibility", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-754-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-755-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-AccessibilityJustification" }, { "contentId": "GR-Lot-PlaceOfPerformance", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-5101(a)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5101(b)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5101(c)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5131-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5121-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5071-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5141-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-727-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-728-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotPlacePerformance" }, { "contentId": "BT-538-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-536-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-537-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-36-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-54-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-57-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-58-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-767-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-122-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-123-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-115-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-60-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-765-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-766-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-113-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-109-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-090-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-111-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-271-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-FiscalLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-110-Lot-FiscalLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-111-Lot-FiscalLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-EnvironLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-120-Lot-EnvironLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-112-Lot-EnvironLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-EmployLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-130-Lot-EmployLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-113-Lot-EmployLegis", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-300-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotTenderingProcess" }, { "contentId": "GR-Lot-SelectionCriteria", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-747-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-749-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-750-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-748-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-40-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-SelectionCriteria-SecondStageInvite", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-7531-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-7532-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-752-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-SecondStageCriterionParameter" } ], "visType": "non-field", "visNodeId": "ND-SelectionCriteria" }, { "contentId": "BT-52-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-661-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-51-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-50-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-AwardCriteria", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-Lot-AwardCriteria-Criterion", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-539-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-540-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-AwardCriteria-Criterion-Parameters", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-Lot-AwardCriteria-WeightCriterion-Parameter", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-541-Lot-WeightNumber", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5421-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotAwardWeightCriterionParameter" }, { "contentId": "GR-Lot-AwardCriteria-FixedCriterion-Parameter", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-541-Lot-FixedNumber", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5422-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotAwardFixedCriterionParameter" }, { "contentId": "GR-Lot-AwardCriteria-ThresholdCriterion-Parameter", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-541-Lot-ThresholdNumber", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5423-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotAwardThresholdCriterionParameter" } ], "visType": "non-field", "visNodeId": "ND-LotAwardCriterionParameters" }, { "contentId": "BT-734-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotAwardCriterion" }, { "contentId": "BT-543-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-733-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotAwardCriteria" }, { "contentId": "BT-120-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-761-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-76-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-771-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-772-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-ReservedParticipation", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-71-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotReservedProcurement" }, { "contentId": "BT-63-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-94-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-95-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-769-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-736-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-743-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-060-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-70-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-79-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-78-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-578-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-732-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Nda", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-801-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-802-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-NDA" }, { "contentId": "BT-764-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-744-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-92-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-93-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-77-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-TenderReceipt", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-TenderEval", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-634-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-131(d)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-131(t)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-130-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-1311(d)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-1311(t)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-13(d)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-13(t)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-98-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-Submission Language", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-97-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotSubmissionLanguage" }, { "contentId": "BT-132(d)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-132(t)-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-134-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-133-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-751-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-75-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-17-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-18-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-19-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-745-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Lot-ProcurementDocuments", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-14-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-050-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-707-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-708-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-737-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-15-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-615-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-140-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotProcurementDocument" }, { "contentId": "BT-632-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-124-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-AddInfo", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-DocProvider", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-99-Lot", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-ReviewOrg", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-ReviewInfo", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPT-301-Lot-Mediator", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-Lot" }, { "contentId": "GR-LotsGroup", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-137-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "GLO-0001" }, { "contentId": "BT-22-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-21-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-24-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-726-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-27-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-157-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-271-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-300-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-LotsGroup-AwardCriteria", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-LotsGroup-AwardCriteria-Criterion", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-539-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-540-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-LotsGroup-AwardCriteria-Criterion-Parameters", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-LotsGroup-AwardCriteria-WeightCriterion-Parameter", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-541-LotsGroup-WeightNumber", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5421-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotsGroupAwardWeightCriterionParameter" }, { "contentId": "GR-LotsGroup-AwardCriteria-FixedCriterion-Parameter", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-541-LotsGroup-FixedNumber", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5422-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotsGroupAwardFixedCriterionParameter" }, { "contentId": "GR-LotsGroup-AwardCriteria-ThresholdCriterion-Parameter", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-541-LotsGroup-ThresholdNumber", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-5423-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotsGroupAwardThresholdCriterionParameter" } ], "visType": "non-field", "visNodeId": "ND-LotsGroupAwardCriterionParameters" }, { "contentId": "BT-734-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotsGroupAwardCriterion" }, { "contentId": "BT-543-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-733-LotsGroup", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-LotsGroupAwardCriteria" } ], "visType": "non-field", "visNodeId": "ND-LotsGroup" }, { "contentId": "BT-140-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-762-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-758-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-ChangeSections", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "GR-ChangedSectionIdentifiers", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-13716-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-ChangedSection" }, { "contentId": "BT-141(a)-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-718-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-719-notice", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-Change" }, { "contentId": "GR-Organisations", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "OPT-200-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "ORG-0001" }, { "contentId": "BT-500-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Organisation-Identifier", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "BT-501-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-CompanyLegalEntity" }, { "contentId": "BT-16-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-505-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-509-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-510(a)-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-510(b)-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-510(c)-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-513-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-512-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-507-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-514-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-502-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-506-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-503-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-739-Organization-Company", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPP-050-Organization", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPP-051-Organization", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "OPP-052-Organization", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "GR-Touch-Point", "contentType": "group", "contentCount": "1", "children": [ { "contentId": "OPT-201-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "TPO-0001" }, { "contentId": "BT-500-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-16-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-505-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-509-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-510(a)-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-510(b)-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-510(c)-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-513-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-512-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-507-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-514-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-502-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-506-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-503-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" }, { "contentId": "BT-739-Organization-TouchPoint", "contentType": "field", "contentCount": "1", "visType": "field", "value": "" } ], "visType": "non-field", "visNodeId": "ND-Touchpoint" } ], "visType": "non-field", "visNodeId": "ND-Organization" } ], "visType": "non-field" } ], "visType": "non-field", "visNodeId": "ND-Root", "sdkVersion": "eforms-sdk-1.8.0", "noticeSubType": "16", "noticeUuid": "884d16cd-879b-4484-9522-7e9a1884afed" } ````
vinamato commented 1 year ago

Please find below the PhysicalModel generated:

PhysicalModel.json ```` ORG-0001 TPO-0001 16 2.3 eforms-sdk-1.8 884d16cd-879b-4484-9522-7e9a1884afed 01 GLO-0001 ````
rouschr commented 1 year ago

Hello,

as you can imagine it is difficult or just very time consuming for me to just look at both of your files and give you a precise answer. Please always state the used SDK version in questions. I suppose it is SDK 1.8? I see you have "value": "LOT-0001" twice in the visual model, this looks like a duplicate!? I know that there are issues in the editor demo with SDK 1.8 in the XML generation but it could be something in your data. Also note that the editor demo is just a demo, not a bullet proof application to be used in production, we try to improve it when we have extra time (outside of the work on the SDK).

Concerning the editor demo I would recommend you wait for SDK 1.9 to come out and use this branch to test this again: https://github.com/OP-TED/eforms-notice-editor/tree/feature/TEDEFO-2456-use-of-fields-attribute-information The algorithm for XML generation is better in this branch of the editor demo as it deals with attributes provided in 1.9. I had found a problem where the XML was missing something that was in the visual model, this has been corrected but in that special branch and it needs SDK 1.9, you could try the same thing with a release candidate: https://github.com/OP-TED/eForms-SDK/tree/1.9.0-rc.2 and the editor demo branch give above.

vinamato commented 1 year ago

Ji @rouschr thank you so much for the answer. we will look in our data and we will let you know. In meantime, since the usage of 1.8 SDK version is mandatory, do you have a quick suggestion to fix the hierarchies in notice-type jsons? In fact, as per our understanding the issue in XML generation is related to the different hierarchies of the fields.json and notice-types. We observed that this has been fixed in 1.9 (at least for the notice 16.json).

rouschr commented 1 year ago

As an esender you can adapt the SDK to your needs, as long as the produced XML is valid for your country and the EU. Perhaps you could use a copy of NTD 16 taken from 1.9 and adapt it for use inside of 1.8. There are other ways but those may involve reinventing the algorithm that generates XML to make it more tolerant of problems found in the NTDs (I have some ideas on that) but that is a lot more complex and difficult to do.

rouschr commented 1 year ago

As 1.9.0 has been released, I consider this closed. Feel free to open new issues in case of trouble.