Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-8841

Error inserting results into database: unsupported Unicode escape sequence (SQLSTATE 22P05)

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Image Builder
    • None
    • image-builder-2
    • Image Builder 7, Image Builder 8
    • 3
    • None

      Certain logs have got character sequences in them which aren't supported. And the build fails with:

      ERROR: unsupported Unicode escape sequence (SQLSTATE 22P05)
      

       

      1. See the attached blueprint to reproduce the build.
      2. Export the logs.
      3. grep for "*".

       

      JSONB doesn't support all escape sequences, so we need to account for this, and sanitise the output we get from osbuild logs (which are inserted into the result) properly.

              sraymaek Sanne Raymaekers
              sraymaek Sanne Raymaekers
              None
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: