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

Wrong layouts generated for common doc types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: Studio Designer

      Description

      Something strange is suddenly happening since today (2018-12-08). After a hot reload (10.2), in a demo when I navigate to the domain, or display a File or an audio, I an error displayed (see display-error.png).

      Yesterday was ok, this morning too. So I can't navigate the domain or see the preview of a File for example.

      Looking at what's inside the html, they (create/edit/view/etc.) have this:
      ```
      <div class="container">
      <div>This layout has not been configured yet.</div>
      <div>Use <a href="https://connect.nuxeo.com/nuxeo/designer/#/cm-showcase-webui-nuxeo/layouts/document/Audio/create" target="_blank">Nuxeo Studio Designer</a> to generate it!</div>
      </div>
      ```

      This concerns only the default Document Types when they are re-declared in Studio. In my case: Domain, File, Audio, Picture and Video. (I redeclared them because I added custom schemas and facets).

      Workaround: Explicitly create (click the "Configure" button) all the missing layouts.

      So, as we would like to avoid having to do that for all of our demos, a fix would be greatly appreciated . Something like "When a layout for a default Nuxeo type is missing, use the default layout for this type"

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 3 hours
                3h