TWSD-1529 - Internal server error 500 is seen some web Pages part of TWSD-1461

Review Request #1287 — Created Jan. 7, 2026 and updated — Latest diff uploaded

shuinvy
AVX2
rel_avx_2_7_5
TWSD-1529
austin, lucille, stevenku

Fix some 500 error issue in VSwitch page

The Jira ticket is:
https://arraynetworks.atlassian.net/browse/TWSD-1529

The API:
/api/avx/network/vswitch/VirtualSwitch/_field_group/name/"vswitch" will get stucked if the backend use enable mode to call CLI,
the CLI will return "System is busy. Please retry later.".
so I use config mode to call the CLI show switch config and the issue is resolved.
Besides,
another issue is duplicate port number in our Javascript array,
so I use indexOf to prevent duplicate data in Array.

For issue of license updating,
it is duplicate to https://arraynetworks.atlassian.net/browse/TWSD-1292,
so I don't need to do anything for it in this ticket.

I also removed useless code.
There is no place to use port varaible.

For issue of Alert Email,
the root cause is the Email foramt is invalid from CLI,
so our API /api/avx/ha/AlertEmail/_get_list_data return 500 error.
since WebUI will check Email format both in adding and get list data,
I think it's better that open a ticket for CLI to check Email format.
Thus,
I don't need to do anything in this ticket for this issue.
Please check attachment for reference.


    Loading...