Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23644

Complex fields duplicated when not specifying title

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      300
    • Sprint:
      nxcore 10.1.2, nxNS Sprint 10.1.3, nxNS Sprint 10.1.4, nxNS Sprint 10.2.2, nxNS Sprint 10.2.3, nxNS Sprint 10.3.1, nxNS Sprint 10.3.2, nxNS Sprint 10.3.3, nxNS Sprint 10.3.4, nxNS Sprint 10.3.5, nxNS Sprint 10.10.3, nxNS Sprint 11.1.1, nxNS Sprint 11.1.4, nxNS Sprint 11.1.5, nxNS Sprint 11.1.14, nxplatform 11.1.27, nxplatform 11.1.28, nxplatform 11.1.29
    • Story Points:
      3

      Description

      Steps to reproduce:

      1. Create a document by hitting the "new" button on the container. (our document has a schema that has one multi-valued, complex field. the complex field has 5 muli-valued string fields).
      2. Do not enter the title (a required field)
      3. Enter two instances of the complex field (hit "Add" button twice".
      4. In the first instance of the complex field, enter the string "aa" in the first field.
      5. In the second instance of the complex field, enter the string "bb" in the second field.
      6. Hit "Create" button
      7. Should get error that says for the title field "Value is required."
      8. Enter a title
      9. Hit "Create" button again

      Expected result: the created document has 2 instances of complex field. First instance has first field value of "aa". Second instance has second instance field value of "bb".

      Actual result: the created document has 2 instances of complex field. First instance has first field value of "aa" and second field values of ["bb, "bb"]. Second instance has second field value of "bb".

        Attachments

        1. endResult.png
          86 kB
          Frantz Fischer
        2. firstScreen.png
          216 kB
          Frantz Fischer

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 30 minutes
                  3d 30m