Traceback editing replication task

Description

When I edit a replication task but make no changes, I get the following traceback upon pressing save:

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1191, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 463, in update
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1191, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 972, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 930, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 607, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 373, in clean
value = super().clean(value)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 76, in clean
raise Error(self.name, 'null not allowed')
middlewared.schema.Error: [large_block] null not allowed

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk October 16, 2020 at 7:59 PM

Bug Clerk October 7, 2020 at 2:21 PM

Matthew Latin October 6, 2020 at 10:31 PM

I'm having this same issue on two identical FreeNAS 11.3-U5 servers. I can provide my Save Debug files if needed. It seems like there is already a PR to fix this. Will this be applied to a 11.3 release? I added a snapshot task that needs to be added to replication and that currently cannot be done without rolling back.

Bug Clerk October 5, 2020 at 6:40 PM

styno styno October 1, 2020 at 10:24 PM

Additional info: After going back to 11.3-U4 I was able to save, but more importantly I could toggle the 'Allow Blocks Larger than 128KB_'_ option and save again.
When then booting to 11.3-U5 the replication task can be edited and saved without any issues.  

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

High

Components

Priority

More fields

Katalon Platform

Created October 1, 2020 at 6:03 PM
Updated July 1, 2022 at 4:54 PM
Resolved October 16, 2020 at 1:18 PM