Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11411

Broken primary key on phpbb_notification_types table

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Notification System
    • Labels:
      None

      Description

      The phpbb_notification_types table has a primary key of (notification_type, notification_type_enabled). This means you can have multiple rows for the same notification type, e.g

      ('post', 0)
      ('post', 1)

        Activity

        Hide
        EXreaction EXreaction [X] (Inactive) added a comment -

        Does not cause any real problems currently as the table is checked if there are any rows before any new ones are inserted.

        Show
        EXreaction EXreaction [X] (Inactive) added a comment - Does not cause any real problems currently as the table is checked if there are any rows before any new ones are inserted.

          People

          • Assignee:
            EXreaction EXreaction [X] (Inactive)
            Reporter:
            bantu Andreas Fischer
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development