Uploaded image for project: 'Nuxeo AI Core'
  1. Nuxeo AI Core
  2. AICORE-178

Handle SimpleDocumentModel in SuggestionOp

    XMLWordPrintable

    Details

    • Tags:
    • Team:
      AI
    • Sprint:
      nxAI Sprint 11.1.23
    • Story Points:
      1

      Description

      Due to use of SuggestionOp on Document creation in layout. The type doesn't support hasSchema method. 

      Caused by: java.lang.UnsupportedOperationExceptionCaused by: java.lang.UnsupportedOperationException at org.nuxeo.ecm.core.api.impl.SimpleDocumentModel.hasSchema(SimpleDocumentModel.java:423) ~[nuxeo-core-api-10.10-HF18.jar:?] at org.nuxeo.ai.model.serving.SuggestionOp.run(SuggestionOp.java:98) ~[nuxeo-ai-model-2.1.3-SNAPSHOT.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131] 

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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