Bug 1022 - When user tries to create a device admin with existing username the error message displayed is incorrect

Review Request #376 — Created July 29, 2024 and submitted

pmurugaiyan
AMP
amp_3_7_0
1022
apoorva.sn, prajesh, shuinvy

Bug 1022 - When user tries to create a device admin with existing username the error message displayed is incorrect

The error message updated on the GUI.

The changes are tested locally.


Description From Last Updated

Is there a way to fix it in the backend code? if someone changes the backend code, UI breaks again?

prajeshprajesh
shuinvy
  1. Ship It!
  2. 
      
prajesh
  1. 
      
  2. Is there a way to fix it in the backend code? if someone changes the backend code, UI breaks again?

    1. No Praveeen, the current implementation is common across the Classes, so we are getting common error as 'This instance is already existed.'. We have couple of enhancements & operation log related bugs. We can fix this also along with those changes. Meaning handling the exceptions for different classes with more customization options for logs and responses (hive/manager) or independent loging and response management, we can take a call on that.

      So at the worst case scenario the GUI will show the 'This instance is already existed.' if some breaking changes.

  3. 
      
prajesh
  1. Ship It!
  2. 
      
pmurugaiyan
Review request changed

Status: Closed (submitted)

Loading...