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

When a 'layout' widget is rendered in a 'create' layout, the 'layout' widget is rendered in 'edit' mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 21
    • Fix Version/s: None
    • Component/s: Layouts & Widgets

      Description

      How to reproduce:

      • create a new form layout:
      • in the 'create layout', 1 widget rendering the title
      • in the 'edit layout' and 'view layout', 2 widgets: title and description
      • create a new doc. type
      • in the 'create layout', 'edit layout' and 'view layout', add 1 'layout' widget using the form layout previously define
      • when creating a document of that new doc type, widgets 'title' and 'description' are rendered, only widget 'title' should have been rendered

      It seems mode 'edit' is passed to the 'layout' widget when the 'create' layout of the doc. type is rendered.

      There is a workaround: in the 'layout' widget you can set the 'layout mode' property to 'create'.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: