Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid GTIN accepted using Import feature on Products page #609

Closed
kpratihast opened this issue Mar 14, 2022 · 0 comments
Closed

Invalid GTIN accepted using Import feature on Products page #609

kpratihast opened this issue Mar 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kpratihast
Copy link

kpratihast commented Mar 14, 2022

Testing environment: localhost, tag v1.1.1
Invalid GTIN got accepted while creating a product using import feature on products page of the enterprise wallet. Sample json request body is mentioned below. Incorrect GTIN value: 05290931025676

{
    "messageType": "Product",
    "messageTypeVersion": 0.1,
    "senderId": "kpepiwdio",
    "receiverId": "",
    "messageId": "0338922922791",
    "messageDateTime": "2022-03-14T11:45:54.948Z",
    "product": {
        "inventedName": "MarRelTest2",
        "productCode": "05290931025676",
        "version": 2,
        "nameMedicinalProduct": "postman product",
        "manufName": "",
        "adverseEventReportingURL": "https://epiqa.westeurope.cloudapp.azure.com/default-report.html",
        "acfProductCheckURL": "https://epiqa.westeurope.cloudapp.azure.com/default-anti-counterfeiting.html",
        "flagEnableAdverseEventReporting": false,
        "flagEnableACFProductCheck": true,
        "flagDisplayEPI_BatchRecalled": false,
        "flagDisplayEPI_SNUnknown": false,
        "flagDisplayEPI_EXPIncorrect": false,
        "flagDisplayEPI_BatchExpired": true,
        "healthcarePractitionerInfo": "SmPC",
        "patientSpecificLeaflet": "Patient Information",
        "markets": [{
                "marketId": "IN",
                "nationalCode": "91",
                "mahName": "postman",
                "legalEntityName": "postman inc"
            }],
            "internalMaterialCode": "9081623",
            "strength": "150mg",
            "flagDisplayEPI_BatchNumberUnknown": true
        
    }
}

image

@kpratihast kpratihast added the bug Something isn't working label Mar 14, 2022
@adiganga2002 adiganga2002 self-assigned this Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants