Framework: Multiple categories created with the same Name & Code #102
Closed
vinukumar-vs
started this conversation in
Bugs
Replies: 1 comment 2 replies
-
@vinukumar-vs We need to enable neo4j unique key constraint for neo4j post neo4j deployment. Please refer below automation script |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are creating new framework for Course workflow. While creating the framework with categories, we executed creation of framework category multiple times(while verifying the postman tests). It's created multiple categories with the same name & code.
API: {{host}}/api/framework/v1/read/{{course_framework}}
Response:
{ "id": "api.framework.read", "ver": "1.0", "ts": "2023-03-08T05:46:52.026Z", "params": { "resmsgid": "a03865a0-bd74-11ed-97e3-51934d7d7c4b", "msgid": "a035a680-bd74-11ed-bbbf-b9b0a7931a82", "status": "successful", "err": null, "errmsg": null }, "responseCode": "OK", "result": { "framework": { "identifier": "sunbird_k-12", "code": "sunbird_k-12", "name": "sunbird_k-12", "description": "Sunbird k-12 framework", "categories": [ { "identifier": "sunbird_k-12_gradelevel", "code": "gradeLevel", "translations": null, "name": "GradeLevel", "description": null, "index": 1, "status": "Live" }, { "identifier": "sunbird_k-12_medium", "code": "medium", "translations": null, "name": "Medium", "description": null, "index": 2, "status": "Live" }, { "identifier": "sunbird_k-12_subject", "code": "subject", "translations": null, "name": "Subject", "description": null, "index": 3, "status": "Live" }, { "identifier": "sunbird_k-12_subject", "code": "subject", "translations": null, "name": "Subject", "description": null, "index": 4, "status": "Live" }, { "identifier": "sunbird_k-12_subject", "code": "subject", "translations": null, "name": "Subject", "description": null, "index": 5, "status": "Live" }, { "identifier": "sunbird_k-12_subject", "code": "subject", "translations": null, "name": "Subject", "description": null, "index": 6, "status": "Live" } ], "type": "TPD", "objectType": "Framework" } } }
Snapshot for reference:
@pallakartheekreddy @Krishnaj20 @gandham-santhosh @vrayulu
Beta Was this translation helpful? Give feedback.
All reactions