Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2903

Batch edit for Process Status and Usage Status attrs

    XMLWordPrintable

Details

    • High
    • TermPortal: batch editing is now possible for Process Status and Usage Status attributes

    Description

      Currently, batch editing for those attributes is disabled due to way of how it's implemented into two steps: 1st is adding the attrubute as draft, 2nd is using draft-value to overwrite existing attr value (if such attr already exists). But processStatus and administrativeStatus attrs are NOT addable through the normal term-level panel GUI, so it's not addable through batch-edit GUI as well, because both are using same components

      also, it's blocked on the server-side to batch-update those attrs

      // Prevent creation of processStatus and administrativeStatus attributes
      if ($this->batch) $this->jcheck([
          'type' => [
              'dis' => 'processStatus,administrativeStatus'
          ]
      ], $_['dataType']);

      It should be checked the possibility to add to edit them through batch mode, since batch-mode can anyway only be executed by termPM, that might not be a problem.

      Also the tests for the batch editing should be changed, so that they reflect the new batch editing behavior.

      The icons in the left and center column and the shown attributes in the attributes panels change, when the batch edit is executed.

       

      Attachments

        Activity

          People

            pavelperminov Pavel Perminov
            pavelperminov Pavel Perminov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: