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

Fix Table Editor not saving layout when it contains an import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.34.4, 4.0.7, 4.1.1
    • Fix Version/s: 4.1.2, 4.2.0
    • Component/s: Studio Designer

      Description

      Steps to reproduce:

      • In Modeler:
        • Create a PageProvider (pp).
      • In Designer:
        • Create a Layout Block (layout-block).
        • Configure the results layout for pp.
        • Edit the table and switch to the table editor.
        • Drag and drop the dc:description field inside the table and save.
        • Refresh the page. Edit the table and switch to the table editor => dc:description should still be there.
        • Remove dc:description and save.
        • Switch to results editor and switch to code.
        • On the top of the file add an import to the layout block created previously:
          <link rel="import" href="../../forms/layout-block.html">
          
        • Save. Switch to view, then edit the table and switch to the table editor.
        • Drag and drop the dc:description field inside the table and save.
        • Refresh the page. Edit the table and switch to the table editor => dc:description is no longer there because the save action did not persist the changes.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 hour, 30 minutes
                  1h 30m