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

AI Pipe generates invalid stream name and prevents server to start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: AI Nuxeo Services

      Description

      java.lang.IllegalArgumentException: Invalid name: 'aws.celebrityDetection_ai-images_ai-images-enrichment-in'.
      nuxeo_1          |      at org.nuxeo.lib.stream.log.Name.checkLogName(Name.java:123) ~[nuxeo-stream-11.4.42.jar:?]
      

      https://github.com/nuxeo/nuxeo-ai/blob/32e7b9b95fccd80de30912082194e48337d38564/nuxeo-ai-core/src/main/java/org/nuxeo/ai/enrichment/EnrichingStreamProcessor.java#L77

      The enricher name is used as is to build the stream name event if it contains invalid characters like dot (and all enrichers have a dot in the name)

        Attachments

          Activity

            People

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