Globalshala / Eval-Bridge-bugs

In the Repository, we will add the bugs related to eval bridge system
0 stars 1 forks source link

Evaluation: CBC: Error Message: `"[0].us_gpa" must be a number Displayed When Updating Obtained Marks (OM) for 5 CGPA Scale #251

Open Adnan-shariff opened 1 month ago

Adnan-shariff commented 1 month ago

Describe the bug When entering or updating Obtained Marks (OM) in the evaluation type CBC (Course by Course) for a 5 CGPA Scale, the page shows an error message: `"[0].us_gpa" must be a number

Scope of the bug Evaluation > Course by Course (CBC) Users selecting UG country as India with 5 CGPA Scale****

Steps to reproduce

  1. Select any App ID of any organization.
  2. Select UG country as India.
  3. Set the scale to 5 CGPA.
  4. Choose the evaluation type as CBC (Course by Course).
  5. Enter OM as 3.
  6. Save
  7. Change the OM to 2, 1.1, or 4.
  8. Observe the error message.

Expected Behavior The system should accept and validate the entered OM without displaying an error,

Actual Behavior An error message is displayed: "[0].us_gpa" must be a number, preventing the user from updating or saving the OM values.

Screenshots

MSGlobalShala commented 1 month ago

@Yash-VEmpower This is happening because of data type. The scale data type must be "Number" but here we can see "Scale" data type as "String". image

Yash-VEmpower commented 4 weeks ago

is this a prod issue? Are we not using type string every place?

MSGlobalShala commented 2 days ago

ntry as India with 5 CGPA Scale

May be this also on the production as well. We have to check.

Yash-VEmpower commented 2 days ago

Its number only Please check if you can reproduce in prod