TWSD-881 - Internal server error is seen while creating NTP server without adding Authentication key

Review Request #948 — Created July 1, 2025 and submitted — Latest diff uploaded

shuinvy
AVX2
rel_avx_2_7_4
TWSD-881
jasonchang, lucille, timlai, timsu

Fixed issue for variable type convertion

I originally use data = instance.get_field_dict() to let instance convert into dictionary,
but there is cache issue in function get_field_dict, so I use instance itself instead.
1. Because the type of ip is CharField, I use string format instead of dictionary in front-end (ntp.controller.js)
2. I added function to check the format of ip for parameter (hive/utils.py)
3. I use instance instead of data(dictionary) to handle the parameters (ntp.py)

    Loading...