Project

General

Profile

BUG #4202

Updated by Aman Bhuiyan 2 months ago

 


 ### Description 
 **Module/Section:** Agency Profile → Profile Header → Language   
 **Profile:** Agency   
 **Issue Category:** UI   

 While adding a language via the **Language (+)** icon on the **Agency Profile** page, saving the selected **language and proficiency** triggers an unexpected **error popup** displaying the message:   
 **“Cannot read properties of undefined (reading 'id')”**. 

 This prevents the language data from being saved successfully and disrupts the expected user flow. 

 ### Steps to Reproduce 
 1. Navigate to the **Agency Profile** page. 
 2. Click the **Language (+)** icon. 
 3. Select a **language** and **proficiency level**. 
 4. Click the **Save** button. 
 5. Observe the error popup. 

 ### Expected Result 
 The selected **language and proficiency** should be saved successfully **without any error popup**. 

 ### Actual Result 
 An **error popup** appears with the message:   
 **“Cannot read properties of undefined (reading 'id')”**, and the data is not saved. 

 ### Attachments 
 - [PoC](https://drive.google.com/file/d/1egLA59gBhjRC7Amw-4kbx2_GLYnxT1EG/view?usp=sharing) 
 --- 
 ### Impact Area: 
  
 ### Root Cause: 

 --- 
 ### Additional Info 
 - Tested By: Aman 

Back