Bug 8416 - NIC/BR Validation issue in contact creation
Summary: NIC/BR Validation issue in contact creation
Status: CONFIRMED
Alias: None
Product: Consolidated Mobile App
Classification: Unclassified
Component: Customers Module (show other bugs)
Version: unspecified
Hardware: Mobile Android
: High major
Assignee: Oshada Dissanayake
URL:
Depends on:
Blocks:
 
Reported: 2022-10-04 17:17 +0530 by Malinda Rukshan
Modified: 2022-10-04 17:17 +0530 (History)
1 user (show)

See Also:


Attachments
NIC/BR Validation issue in contact creation (241.17 KB, image/jpeg)
2022-10-04 17:17 +0530, Malinda Rukshan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malinda Rukshan 2022-10-04 17:17:40 +0530
Created attachment 7312 [details]
NIC/BR Validation issue in contact creation

1 - log in to app using valid login credentials.
2 - Successfully navigate to "Customers" module.
3 - Click "+" button to navigate "create new customer" form.
4 - Select "Contact category" as "Individual".
5 - Fill all other required fields and enter invalid input to "NIC/BR" field.
6 - Click "Save" button.

Expected result
  >> Error message should pop-up as "Please Enter valid NIC".

Current result
  >> Contact get created without validating NIC

>> NIC should contains only,
  * Ten digits - Nine(9) numbers with "V,v" or "X,x"
  * Twelve digits - Twelve(12) numbers

>> If "Contact category" selected as "corporate" , only allow to enter maximum 
   eighteen(18) characters to "NIC/BR" field.