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

Ignore blob properties when generating the content view state in JSON format from the search document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8.0-HF08
    • Fix Version/s: 5.8.0-HF09, 5.9.3
    • Component/s: Content Views

      Description

      If the search document has a schema with blob properties the following exception is thrown :

      org.nuxeo.ecm.core.api.model.PropertyException: Failed to put value
      	at org.nuxeo.ecm.platform.contentview.json.DocumentModelToJSON.visit(DocumentModelToJSON.java:81)
      	at org.nuxeo.ecm.core.api.model.impl.MapProperty.accept(MapProperty.java:82)
      	at org.nuxeo.ecm.core.api.model.impl.ComplexProperty.visitChildren(ComplexProperty.java:259)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.accept(DocumentModelImpl.java:946)
      	at org.nuxeo.ecm.platform.contentview.json.DocumentModelToJSON.run(DocumentModelToJSON.java:56)
      	at org.nuxeo.ecm.platform.contentview.json.JSONContentViewState.getDocumentModelToJSON(JSONContentViewState.java:230)
      	at org.nuxeo.ecm.platform.contentview.json.JSONContentViewState.toJSON(JSONContentViewState.java:100)
      	at org.nuxeo.dam.seam.DamSearchActions.getJSONContentViewState(DamSearchActions.java:162)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: