Project

General

Profile

Bug #41276

Fix "not a list" traceback when changing DDNS settings

Added by Alexander Strange about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I tried to change the DynamicDNS settings and it fails to save:

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 154, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1013, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 953, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 200, in update
f'{self._config.namespace}.update', self, self.do_update, [data]
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 953, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 657, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 614, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 383, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 288, in clean
raise Error(self.name, 'Not a list')
middlewared.schema.Error: [domain] Not a list

History

#1 Updated by Alexander Strange about 2 years ago

  • File debug-voile-20180811105648.txz added
  • Private changed from No to Yes

#2 Updated by Dru Lavigne about 2 years ago

  • Category changed from Services to Middleware
  • Assignee changed from Release Council to William Grzybowski

#3 Updated by William Grzybowski about 2 years ago

  • Category changed from Middleware to GUI (new)
  • Assignee changed from William Grzybowski to Vaibhav Chauhan

This started happening to me when I tried to save with empty domain.

#4 Updated by Vaibhav Chauhan about 2 years ago

  • Status changed from Unscreened to In Progress

#5 Updated by Vaibhav Chauhan about 2 years ago

  • Target version changed from Backlog to 11.2-BETA3

#6 Updated by Erin Clark about 2 years ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Changing dynamic DNS settings fails to Fix "not a list" traceback when changing DDNS settings
  • Private changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#8 Updated by Dru Lavigne about 2 years ago

  • File deleted (debug-voile-20180811105648.txz)

#9 Updated by Dru Lavigne about 2 years ago

  • Description updated (diff)

#10 Updated by Timothy Moore II about 2 years ago

  • Status changed from Ready for Testing to Failed Testing

Testing with FreeNAS system updated to FreeNAS-11.2-MASTER-201808300858:

Set up free account at no-ip.com for testing. Testing with both UIs.
Log in and go to Services > DynamicDNS > CONFIGURE. Enter new settings in the form and click SAVE. Verify no traceback error is generated in legacy ui. Angular UI: Please Wait popup appears and the UI is stuck at this point.

Will update with debug when it finishes downloading.

#11 Updated by Timothy Moore II about 2 years ago

  • File debug.tgz added

#13 Updated by Dru Lavigne about 2 years ago

  • File deleted (debug.tgz)

#14 Updated by Dru Lavigne about 2 years ago

  • Status changed from Failed Testing to In Progress

PR to address issue found in testing: https://github.com/freenas/webui/pull/1216

#15 Updated by Erin Clark about 2 years ago

  • Status changed from In Progress to Ready for Testing

#16 Updated by Jeff Ervin about 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Passes FreeNAS-11.2-MASTER-201809040858

#17 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF