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

Fix scaffold of task variables in workflow layouts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 73.3
    • Fix Version/s: 73.6
    • Component/s: Designer
    • Sprint:
      nxNest Sprint 10.1.2, nxNest Sprint 10.1.3
    • Story Points:
      3

      Description

      Dates in workflow default layouts are not completely "human-readable" (see screenshot).
      Currently, we have hardcoded in https://github.com/nuxeo/nuxeo-studio/blob/8c13e3940b11836a4c23374d4ee607eb3424e634/nuxeo-view-designer/src/view/polymer/layout-engine.js#L21 some task variables we scaffold for each workflow layout, that are not taking into account the date capabilities and the scaffold engine we provide for regular schemas.

      We should create a "virtual" task schema holding these fields and rely on our scaffolding engine to generate the model for each field.

      To validate this:

      • create a workflow with a task layout in Modeler (can be a copy of the default Parallel workflow)
      • configure the layouts in Designer
      • install the studio project in a nuxeo server instance
      • create a document and start the workflow
      • check that the dates are well formatted (Created and Due Date) -> check attachments

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 15 minutes
                1d 15m