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

Wrong label/value generated for schemas using complex fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Designer-0.1.0
    • Fix Version/s: 73.1
    • Component/s: Studio Designer

      Description

      Steps to reproduce the bug:

      • Create a new schema, called ABAMomentExercice, with those fields:
      Fied Data type Subfields
      question Complex
      • value (String)
      • uuid (String)
      • audio (File)
      answer1 Complex
      • value (String)
      • uuid (String)
      • correct (Boolean)
      answer2 Complex
      • value (String)
      • uuid (String)
      • correct (Boolean)
      answer3 Complex
      • value (String)
      • uuid (String)
      • correct (Boolean)


      • Create a new Document type called ABAMomentExercice, which extends Document
      • Associate the schema to the document type
      • Go to View Designer
        • Select this menu option: Layout > Local Types > ABAMomentExercice > create
        • Click on Configure button
      • Labels for complex fields looks like this:

      The complex field name is repeated several times, i.e the field answer1.uuid is referenced as Answer1.answer1.answer1.answer1.answer1.answer1.uuid

      NOTE: If you revert the layout and regenerate it a new field name is added to the label

      NOTE II: Environment details in private comment

        Attachments

          Issue Links

            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 - 1 hour
                  1h