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

django.modelAdmin does not check the unique_together constraint

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1.2
    • Fix Version/s: 0.1.3
    • Component/s: OIOIOI
    • Labels:
      None
    • Story Points:
      1

      Description

      When attempt to create a Region or Participant which already exists we get InternalError instead of user-friendly error message. It seems that django.modelAdmin does not check the unique_together constraint on these models when creating new objects.

        Activity

        Maciej Kisiel made changes -
        Field Original Value New Value
        Description When attempted to create a Region or Participant which already exists we get InternalError instead of user-friendly error message. It seems that django.modelAdmin does not check the unique_together constraint on these models when creating new objects. When attempt to create a Region or Participant which already exists we get InternalError instead of user-friendly error message. It seems that django.modelAdmin does not check the unique_together constraint on these models when creating new objects.
        Maciej Kisiel made changes -
        Assignee Maciej Kisiel [ welter ]
        Maciej Kisiel made changes -
        Status New [ 10000 ] Open [ 1 ]
        Maciej Kisiel made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Gerrit Gerrit added a comment -
        Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/1451

        SIO-1138 No InternalError when creating an existing Region or Participant

        Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Show
        Gerrit Gerrit added a comment - Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/1451 SIO-1138 No InternalError when creating an existing Region or Participant Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Maciej Kisiel made changes -
        Fix Version/s 0.1.3 [ 11102 ]
        Affects Version/s 0.1.2 [ 11100 ]
        Affects Version/s Far Future [ 11002 ]
        Story Points 1
        Hide
        Gerrit Gerrit added a comment -
        Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/1451

        SIO-1138 No InternalError when creating an existing Region or Participant

        Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Show
        Gerrit Gerrit added a comment - Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/1451 SIO-1138 No InternalError when creating an existing Region or Participant Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Hide
        Gerrit Gerrit added a comment -
        Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 3
        https://gerrit.sio2project.mimuw.edu.pl/1451

        SIO-1138 No InternalError when creating an existing Region or Participant

        Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Show
        Gerrit Gerrit added a comment - Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/1451 SIO-1138 No InternalError when creating an existing Region or Participant Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Hide
        Gerrit Gerrit added a comment -
        Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 4
        https://gerrit.sio2project.mimuw.edu.pl/1451

        SIO-1138 No InternalError when creating an existing Region or Participant

        Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Show
        Gerrit Gerrit added a comment - Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 4 https://gerrit.sio2project.mimuw.edu.pl/1451 SIO-1138 No InternalError when creating an existing Region or Participant Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Hide
        Gerrit Gerrit added a comment -
        Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 5
        https://gerrit.sio2project.mimuw.edu.pl/1451

        SIO-1138 No InternalError when creating an existing Region or Participant

        Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Show
        Gerrit Gerrit added a comment - Change I17f566ce1d2dc72207324863551aaad77b47deab, patchset 5 https://gerrit.sio2project.mimuw.edu.pl/1451 SIO-1138 No InternalError when creating an existing Region or Participant Change-Id: I17f566ce1d2dc72207324863551aaad77b47deab
        Maciej Kisiel made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Assignee Mateusz Kwapich [ mitrandir77 ] Szymon Acedański [ accek ]
        Resolution Fixed [ 1 ]
        Mateusz Kwapich made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Szymon Acedański [ accek ] Mateusz Kwapich [ mitrandir77 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        New New Open Open
        4d 1 Maciej Kisiel 2012-12-2 13:38
        Open Open In Progress In Progress
        3s 1 Maciej Kisiel 2012-12-2 13:38
        In Progress In Progress Resolved Resolved
        5d 20h 59m 1 Maciej Kisiel 2012-12-8 10:38
        Resolved Resolved Closed Closed
        4d 1h 39m 1 Mateusz Kwapich 2012-12-12 12:17

          People

          • Assignee:
            Mateusz Kwapich
            Reporter:
            Maciej Kisiel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: