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

api - error for last_update_snapshot

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Content
    • None
    • insights-content
    • 3
    • None

      There's two issues here:

      The update_latest_snapshot task shouldn't be erroring this way. Also, when the error is saved to the template, the error is too long. The cause of this error should be investigated and the error needs to be shortened before set on the template, or the type should be changed.

       

      seeing this error on glitchtip

      ERROR: value too long for type character varying(255) (SQLSTATE 22001)\n[0.625ms] [rows:0] \n\t\t\tUPDATE templates\n\t\t\tSET last_update_snapshot_error = 'ERROR: insert or update on table \"templates_repository_configurations\" violates foreign key constraint \"fk_templates_repository_configurations_templates\" (SQLSTATE 23503)\

              Unassigned Unassigned
              rverdile@redhat.com Ryan Verdile
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: