Bug: Despite removed naming schema, regex is not accepted in replication settings

Despite having 876 Mbps downlink broadband, your Jira doesn’t load report form. Something is broken on your servers (or Atlassian’s cloud). Feel free to move this post there as a bug report.

Error Name: EINVAL
Error Code: 22
Reason: [EINVAL] replication_update.name_regex: Naming regex can't be used with Naming schema

Error Class: ValidationErrors
Extra: [
  [
    "replication_update.name_regex",
    "Naming regex can't be used with Naming schema",
    22
  ]
]
Trace: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 361, in process_method_call
    result = await method.call(app, id_, params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 57, in call
    result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 956, in call_with_audit
    result = await self._call(method, serviceobj, methodobj, params, app=app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 773, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/service/crud_service.py", line 186, in update
    return await self.middleware._call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 773, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/service/crud_service.py", line 214, in nf
    rv = await func(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py", line 108, in wrapped
    result = await func(*args)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/replication.py", line 250, in do_update
    verrors.check()
  File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 71, in check
    raise self
middlewared.service_exception.ValidationErrors: [EINVAL] replication_update.name_regex: Naming regex can't be used with Naming schema


That’s stack trace of the error on attempt to save edited replication where I removed matching naming schema, switched the option to “Matching regular expression” and put any valid regex there. If I leave the filed empty is throws at me I need at least one character.

This has to be UI bug, that doesn’t send right choice or the value of the radio selection is ignored in form processing.

Did you use Report a Bug in the GUI or the top, upper right of the forum? If one didn’t work, try the other.

There’s one link “Report the bug” leading to https://ixsystems.atlassian.net/; over there, pressing add button opens the form, but elements inside the form don’t load.

But it’s Atlassian, who fired 1700 people on Friday, so now LLMs run the maintenance :wink: