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

Fix DocumentModelJsonReader failing to read unknown property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF15, 11.1-SNAPSHOT
    • Fix Version/s: 9.10-HF38, 10.10-HF19, 11.1, 2021.0
    • Component/s: Web UI

      Description

      When trying to bulk import documents and adding properties(adding metadata, document type) only the documents that we give the type "File" are imported.

      How to reproduce:

      • install nuxeo-web-ui and nuxeo-dam
      • start the server and go to a workspace and click in Add Content button then select the Import tab
      • add 3 files(a video, an image and a .txt/.doc) to the import field
      • click on the Add Properties button
      • Edit the files fields with the correct type: image -> Picture ; video -> Video; txt -> File and random metadata
      • click on create
      • only the file with the Type=File was uploaded (Bug)

       server errors

      2019-11-28T12:20:58,899 ERROR [WebEngineExceptionMapper] org.nuxeo.ecm.core.api.model.PropertyNotFoundException: files:files 
      
      2019-11-28T12:20:58,895 ERROR [WebEngineExceptionMapper] org.nuxeo.ecm.core.api.model.PropertyNotFoundException: relatedtext:relatedtextresources 
      

        Attachments

          Issue Links

            Activity

              People

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