Globalshala / Eval-Bridge-bugs

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

Import: Error Message should be displayed when Max appid length size is less than Min appid size #223

Closed Adnan-shariff closed 2 months ago

Adnan-shariff commented 2 months ago

Describe the bug When force: true is set with an appid size where the maximum size is less than the minimum size, file import is successful.

Scope of the bug Import Db: Force true Max appid < Min appid size

Steps to reproduce Set the appid size minimum size to 10. Set the appid size maximum size to 6. Attempt to upload a file of appid size 3. The file is uploaded with leading zeros.

Expected Behavior The upload should fail, and an error message should indicate that the file size does not meet the required constraints.

Actual Behavior The file is uploaded successfully. 2024-07-29 18_06_34-20240728 - Microsoft Excel 2024-07-29 18_05_56-20240728 - Microsoft Excel 2024-07-29 18_08_57-Settings 2024-07-29 18_08_19-Settings 2024-07-29 18_07_47-Window 2024-07-29 18_06_47-20240728 - Microsoft Excel

shivanim11 commented 2 months ago

@Adnan-shariff Please verify this asap

Adnan-shariff commented 2 months ago

working as intended please check the screenshot attached. 2024-08-02 17_17_23-Window 2024-08-02 17_16_30-Window 2024-08-02 17_14_56-Window