Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-106810

Error removing exclusion clield dataset

    XMLWordPrintable

    Details

    • Impact:
      Medium

      Description

      Quando adiciono um Dataset em Exclude Chil Datasets funciona bem, no entanto se tentar apagar essa exclusão para a replication task ficar sem exclusões dá este erro:

      Item#0 is not valid per list types: [dataset] Empty value not allowed

       

      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
          io_thread=False)
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1084, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.7/site-packages/middlewared/service.py", line 402, in update
          f'{self._config.namespace}.update', self, self.do_update, [id, data]
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1084, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 960, in nf
          args, kwargs = clean_and_validate_args(args, kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 918, in clean_and_validate_args
          value = attr.clean(args[args_index + i])
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 594, in clean
          data[key] = attr.clean(value)
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 467, in clean
          raise Error(self.name, 'Item#{0} is not valid per list types: {1}'.format(index, found))
      middlewared.schema.Error: [exclude] Item#0 is not valid per list types: [dataset] Empty value not allowed

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                canelas23 Edgar Canelas
                Watchers:
                Björn M, Edgar Canelas, Joe Maloney, Lola Yang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: