Bug 46056 - setup/validate wizard: AttributeError: 'dict' object has no attribute 'split'
setup/validate wizard: AttributeError: 'dict' object has no attribute 'split'
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-16 18:41 CET by Johannes Keiser
Modified: 2020-07-03 20:54 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018030821000489, 2017122421000326, 2017121521000601
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2018-01-16 18:41:56 CET
Version: 4.2-3 errata254 (Lesum)

Die Ausführung des Kommandos setup/validate wizard ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 398, in validate
    _check('domainname', util.is_domainname, _("Please enter a valid fully qualified domain name (e.g. host.example.com)."))
  File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 379, in _check
    if not check(values[key]):
  File "%PY2.7%/univention/management/console/modules/setup/util.py", line 856, in is_domainname
    return all(is_domainname.RE.match(_) for _ in domainname.split('.'))
AttributeError: 'dict' object has no attribute 'split'


Role: memberserver
Comment 1 Johannes Keiser univentionstaff 2018-01-19 16:09:16 CET
Reported again: Version: 4.2-3 errata256 (Lesum)
Comment 2 Johannes Keiser univentionstaff 2018-03-29 20:07:25 CEST
Reported again: Version: 4.2-3 errata52 (Lesum)
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:54:11 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.