-
Notifications
You must be signed in to change notification settings - Fork 44
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
Upload User and Catchment data #1214
Comments
…phone number checking. picking country code from account. removed phone number regex properties/variables.
…ormatting logic with PhoneNumberUtil that uses google library.
Need QA scenarios for the phone number changes in behaviour |
Phone numbers
Testing
Location with hierarchy
Descriptor row
|
…on for the web app.
…r phone number in multiple formats as used in real world - hence removed message to enter in 10 digits etc.
…or message change.
|
…ickerMode during UserAndCatchment file upload
…duplicate warning
…nd their column values
… row before throwing exception
Sample Error file with validations across rows. |
…validateRowAndAssimilateErrors
|
#1214 (comment) As discussed in today's stand-up lets hold off testing this till discussion with developer. |
we discussed this. this is not a bug. |
env: prerelease, org: JSS Singrauli UAT -> Admin -> Upload -> Select 'Daily Attendance form' -> Upload the below file Upload this file: sample-Encounter---Daily Attendance Form---Phulwari.csv Error file: errors-sample-Encounter---Daily Attendance Form---Phulwari (3).csv Following issues:
|
…the header then do not fail. do not join multiple error messages in a multiple columns.
first one wasn't an issue, as it was by mistake uploaded as user and ctachment file. fixed rest two. |
Need:
User Messaging Config
) - https://avni.freshdesk.com/a/tickets/3682https://avni.freshdesk.com/a/tickets/3413, https://avni.freshdesk.com/a/tickets/2863, https://avni.freshdesk.com/a/tickets/2494, https://avni.freshdesk.com/a/tickets/2663
Sometimes error messages are not understandable for the users eventhough we provide readable error messages.
https://avni.freshdesk.com/a/tickets/3493
Validation on headers not done:
https://avni.freshdesk.com/a/tickets/3568
When a user belongs to multiple user groups, they need to be separated by
|
. But everywhere else generally the separator is,
https://avni.freshdesk.com/a/tickets/3902
Other tickets related to error messages and location hierarchy spelling mistakes
https://avni.freshdesk.com/a/tickets/2496
https://avni.freshdesk.com/a/tickets/2863, https://avni.freshdesk.com/a/tickets/2494
AC: Phone number related
"^\\+91[0-9]{10}"
. Remove it and handle it when receiving the response forAdminCreateUserRequest
by catching the exceptionInvalidParameterException
and checking for 'Invalid phone number format' error message. In this case, the error column in CSV need to display as 'Country code not present or incorrect'. This is because validity of mobile numbers are not checked on AWS side.+
before sending the request to AWS cognito and inserting into db. If it is entered as well fine. This is because entering+
on excel for a mobile number converts it into exponential format.Value for 'Mobile number' column is missing
in the respective row.AC: Others
location with full hierarchy
, the upload should have the same behaviour, independent of the case of the location. SayKerala->Kasaragod
is the location hierarchy, it should work even if the upload file contains,kerala->kasaragod
References:
https://countrycode.org/
https://www.quora.com/How-is-each-country-code-defined
Phone number format as per cognito user pool mentioned here: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html
The text was updated successfully, but these errors were encountered: