Unsetting "UPS - No Communication Warning Time" gives error

Description

Unsetting "UPS - No Communication Warning Time" gives the following error

[nocommwarntime] Not an integer

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 138, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1213, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/service.py", line 376, in update
rv = await self.middleware._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1213, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 974, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 932, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 607, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 403, in clean
raise Error(self.name, 'Not an integer')
middlewared.schema.Error: [nocommwarntime] Not an integer

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk June 10, 2022 at 9:37 PM

Bonnie Follweiler June 3, 2022 at 12:40 PM

Thank you .

I have moved this ticket into our queue to review.

An engineering representative will update with any further questions or details in the near future.

Harald Leifsson June 3, 2022 at 7:35 AM

The debug file, as requested.

To reproduce the error

1) Enter number in Services -> UPS -> No Communication Warning Time

2) Save

3) Remove the number again

4) Save gives error

 

It is just a cosmetic bug.

Bonnie Follweiler May 31, 2022 at 1:50 PM

Thank you for the report, .

Can you please attach a debug file to the "Private Attachments" section of this ticket?

To generate a debug file on TrueNAS CORE, log in to the TrueNAS web interface, go to System > Advanced, then click Save Debug and wait for the file to download to your local system.

Complete

Details

Assignee

Reporter

Labels

Impact

Low

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created May 29, 2022 at 9:34 AM
Updated July 6, 2022 at 9:01 PM
Resolved June 14, 2022 at 11:14 AM