Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
P
Procedure
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 102
    • Issues 102
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge Requests 29
    • Merge Requests 29
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • prozorro-sale
  • Procedure
  • Issues
  • #1007

Closed
Open
Opened Mar 05, 2021 by Vlad Murenko@vlad.murenkoReporter

CDB3-327 CDB3-328 DGF fix empty fields in protocol with status 'cancelled'

Summary: fields is empty

STR:

  1. Go to /api/procedures/ endpoint
  2. Create procedure with next body:
{
    "auctionPeriod": {
        "startDate": "2021-03-05T00:15:00+00:00"
    },
    "sellingMethod": "dgf-dutch-fast",
    "sellingEntity": {
        "identifier": {
            "scheme": "UA-IPN",
            "legalName": {
                "uk_UA": "string",
                "en_US": "string"
            },
            "id": "1234563378"
        },
        "address": {
            "addressID": {
                "scheme": "koatuu",
                "id": "0110136600"
            },
            "streetAddress": {
                "uk_UA": "string",
                "en_US": "string"
            },
            "locality": {
                "uk_UA": "string",
                "en_US": "string"
            },
            "region": {
                "uk_UA": "Автономна Республіка Крим",
                "en_US": "string"
            },
            "countryName": {
                "uk_UA": "Україна"
            }
        },
        "contactPoint": {
            "email": "Tadmin@example.com",
            "telephone": "+380123456789",
            "name": {
                "uk_UA": "string",
                "en_US": "string"
            },
            "url": "http://string.com"
        },
        "representativeInfo": "Довіреність № 123 від 22.02.2012, дійсна до 30.03.2012/Наказ № 142 від 14.12.2019/Статут ТОВ Кульбаба від 24.07.2002"
    },
    "lotId": "sd",
    "title": {
        "uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
        "en_US": "string"
    },
    "description": {
        "uk_UA": "string",
        "en_US": "string"
    },
    "decision": {
        "decisionId": "string",
        "decisionDate": "2020-11-04T17:28:58.265Z"
    },
    "bankAccount": [
        {
            "bankName": {
                "uk_UA": "string",
                "en_US": "string"
            },
            "description": {
                "uk_UA": "string",
                "en_US": "string"
            },
            "accountIdentifications": [
                {
                    "scheme": "UA-IBAN",
                    "id": "As223323232378678905467894323"
                }
            ]
        }
    ],
    "x_documentRequirements": {
        "uk_UA": "string",
        "en_US": "string"
    },
    "x_additionalInformation": {
        "uk_UA": "string",
        "en_US": "string"
    },
    "value": {
        "currency": "UAH",
        "amount": 3333.444,
        "valueAddedTaxIncluded": true
    },
    "guarantee": {
        "currency": "UAH",
        "amount": 2.33,
        "valueAddedTaxIncluded": true
    },

    "tenderAttempts": 2,
    "virtualDataRoom": "http://virtial-data-room.com/id_of_room",
    "eligibilityCriteria": "eligibilityCriteria",
    "accessDetails": {
        "uk_UA": "ssss"
    },
    "previousAuctionId": "UA-EA-4545-34-45-000000-Q",
    "items": [
        
        {
            "description": {
                "uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
                "en_US": "string"
            },
            "classification": {
                "scheme": "CAV",
                "id": "34120000-4"
            },
            "unit": {
                "code": "H87"
            },
            "quantity": 11.1126,
            "address": {
                "addressID": {
                    "scheme": "koatuu",
                    "id": "0110136600"
                },
                "streetAddress": {
                    "uk_UA": "string",
                    "en_US": "string"
                },
                "locality": {
                    "uk_UA": "string",
                    "en_US": "string"
                },
                "region": {
                    "uk_UA": "Автономна Республіка Крим",
                    "en_US": "string"
                },
                "postalCode": "string",
                "countryName": {
                    "uk_UA": "Україна"
                }
            },
            "additionalClassifications": [
                {
                    "scheme": "CPVS",
                    "id": "QB49-3"
                }
            ],
            
            "location": {
                "latitude": "string",
                "longitude": "string",
                "elevation": "string"
            },
            "registrationDetails": {
                "registrationStatus": "unknown",
                "registrationID": "as",
                "registrationDate": "1969-01-01T00:00:01.000000Z"
            },
            "itemProps": {
               "brand": "sdsd"
            }
        },
        
        {
            "description": {
                "uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
                "en_US": "string"
            },
            "classification": {
                "scheme": "CAV",
                "id": "07226000-9"
            },
            "unit": {
                "code": "H87"
            },
            "quantity": 11.1126,
            "address": {
                "addressID": {
                    "scheme": "koatuu",
                    "id": "0110136600"
                },
                "streetAddress": {
                    "uk_UA": "string",
                    "en_US": "string"
                },
                "locality": {
                    "uk_UA": "string",
                    "en_US": "string"
                },
                "region": {
                    "uk_UA": "Автономна Республіка Крим",
                    "en_US": "string"
                },
                "postalCode": "string",
                "countryName": {
                    "uk_UA": "Україна"
                }
            },
            "additionalClassifications": [
                {
                    "scheme": "CPVS",
                    "id": "QB49-3"
                }
            ],
            
            "location": {
                "latitude": "string",
                "longitude": "string",
                "elevation": "string"
            },
            "registrationDetails": {
                "registrationStatus": "unknown",
                "registrationID": "as",
                "registrationDate": "1969-01-01T00:00:01.000000Z"
            }
        }
        
    ],
    "dutchStep": {},
    "dgfPublicAssetCertificate": "https://www.fg.gov.ua/lot/164489"
}
  1. Cancel procedure with next body:
{
    "reason": {
        "uk_UA": "1",
        "en_US": "Cancellation reason"
    },
    "documents": [
        {
            "title": {
                "uk_UA": "Назва",
                "en_US": "Title"
            },

            "documentOf": "cancellation",
            "token": ""
        }
    ],
    "datePublished": "2021-03-05T00:10:42.975695+00:00"
}
  1. Check protocol

Procedure example: id - 604176dec14d662746373071

Actual result: https://prnt.sc/10d9rqm fields is empty

Expected result: variables should work

Assignee
Assign to
v3.23.0
Milestone
v3.23.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: prozorro-sale/procedure#1007