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

Fix NULL lifecycle state in CSV import in 'IMPORT' mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 9.10, 10.10
    • Fix Version/s: None
    • Component/s: CSV Importer
    • Tags:
    • Backlog priority:
      750
    • Sprint:
      nxcore 11.1.10
    • Story Points:
      2

      Description

      When import mode IMPORT is turned when importing a CSV and a lifecycle state is mentioned in it, the lifecycle state is not set (NULL) when the documents are created.

      How to reproduce:

      • fire up a 9.10 Nuxeo instance with addon nuxeo-csv and all the HFs
      • create a CSV file in your workstation with the following content:
        name,type,dc:title,ecm:currentLifeCycleState
        "file1","File","File 1","approved"
        
      • log in the Web UI and navigate to a workspace
      • click on the Add Content button
      • goto to the CSV tab in the create popup
      • select the CSV file created earlier, turn on the Apply Date, Author and Dublin Core properties. switch and click on the CREATE button to launch the import

      Expected result: a File document is created with lifecycle state approved
      Actual result: a File document is created with lifecycle state set to NULL

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: