Bug 54327 - schoolrooms/put: ValidationError: IPv6 address
schoolrooms/put: ValidationError: IPv6 address
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-01-12 10:58 CET by Maximilian Janßen
Modified: 2022-08-01 16:40 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022010721000557, 2020090721000457
Bug group (optional): External feedback, IPv6
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2022-01-12 10:58:31 CET
Version: 4.4-8 errata1146 (Blumenthal) - UCS@school 4.4 v9

Error: 
Internal server error during "schoolrooms/put".
Request: schoolrooms/put

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolrooms/__init__.py", line 158, in put
    ldap_user_write,
  File "%PY2.7%/univention/management/console/modules/schoolrooms/__init__.py", line 214, in _set_teacher_computers
    computer.modify(ldap_user_write)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 674, in modify
    success = self.modify_without_hooks(lo, validate, move_if_necessary)
  File "%PY2.7%/ucsschool/lib/models/computer.py", line 298, in modify_without_hooks
    self.create_network(lo)
  File "%PY2.7%/ucsschool/lib/models/computer.py", line 332, in create_network
    network.create(lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 608, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY2.7%/ucsschool/lib/models/network.py", line 66, in create_without_hooks
    dns_reverse_zone.create(lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 608, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 623, in create_without_hooks
    raise ValidationError(self.errors.copy())
ValidationError: {'name': ['A subnet for reverse lookup consists of the first 1-3 octets of an IPv4 address (example: "192.168.0") or of the first 1 to 31 nibbles of an expanded
(with leading zeroes and without ::-substitution) IPv6 address (example: "2001:0db8:010" for "2001:db8:100::/24")']}

Role: domaincontroller_master