Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2720

Validate form fields in a Workflow when saving

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24
    • Fix Version/s: 24.7, 25, 26
    • Component/s: Workflow
    • Tags:
    • Sprint:
      nxNag Sprint 7.3.6

      Description

      When building the Workflow feature, a schema is added, grouping the global variables that are edited within a node. But, if a widget on a node's form is bound to an non-existing field, a NPE is thrown and the project is not build.

      To avoid this, we should implement a validation of the fields on each form of a workflow when saving.

      Steps to reproduce:

      • Create a workflow variable
      • Use this workflow variable in a node's form tab
      • Save the workflow
      • Delete the workflow variable
      • Save the workflow again

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty