The SIO2 project
  1. The SIO2 project
  2. SIO-1906

IntegrityError: update or delete on table "programs_test" violates foreign key constraint "test_id_refs_id_4c930b...

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Obsolete
    • Affects Version/s: Current Version
    • Fix Version/s: None
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      https://sentry.io/the-sio2-project/szkopul/issues/229869377/

      {code}
      IntegrityError: update or delete on table "programs_test" violates foreign key constraint "test_id_refs_id_4c930bac06ff6a23" on table "programs_testreport"
      DETAIL: Key (id)=(451179) is still referenced from table "programs_testreport".

      (2 additional frame(s) were not displayed)
      ...
        File "django/db/transaction.py", line 225, in __exit__
          connection.commit()
        File "django/db/backends/base/base.py", line 173, in commit
          self._commit()
        File "django/db/backends/base/base.py", line 142, in _commit
          return self.connection.commit()
        File "django/db/utils.py", line 98, in __exit__
          six.reraise(dj_exc_type, dj_exc_value, traceback)
        File "django/db/backends/base/base.py", line 142, in _commit
          return self.connection.commit()

      IntegrityError: update or delete on table "programs_test" violates foreign key constraint "test_id_refs_id_4c930bac06ff6a23" on table "programs_testreport"
      DETAIL: Key (id)=(451179) is still referenced from table "programs_testreport".

      {code}

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          New New Resolved Resolved
          1147d 18h 21m 1 Szymon Acedański 2020-04-27 16:28

            People

            • Assignee:
              Szymon Acedański
              Reporter:
              Sentry
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: