avniproject / avni-server

Backend APIs for Avni
https://avniproject.org
GNU Affero General Public License v3.0
5 stars 25 forks source link

Handle User subject type on bundle upload #713

Closed mahalakshme closed 2 months ago

mahalakshme commented 3 months ago

Acceptance criteria:

himeshr commented 2 months ago

Deve testing done: Validated that during bundle upload, when there is a subject type of type User, and when the destination project doesn't have that subject type, after importing the subject type, we created subjects for each user in the destination project.

AchalaBelokar commented 2 months ago

use the org AchalaB@rwbmh

errors-sample-Subject---test (3).csv

sample-Subject---test (3).csv

himeshr commented 2 months ago

use the org AchalaB@rwbmh

  • [ ] I created subject type with name test which contains only one mandatory fields I uploaded that data only but it is giving me error.

errors-sample-Subject---test (3).csv

sample-Subject---test (3).csv

@AchalaBelokar, Creating / Updating User subject type as part of Subject Upload is currently not Supported in Avni. As part of this card, the feature provided is automatic creation of UserType Subjects for newly created Users using the UsersAndCatchment csv uploads.

https://avni.readme.io/docs/key-system-and-data-flows