Skip to content

Duplicates detected for modDashboardWidgetPlacement but no duplicates in database #453

Description

@pbowyer

Summary

I have multiple users with their own dashboard widget placement. I've modified the primary key to contain the user's id and there are no duplicates in the database; but there are problems when running gitify build

Step to reproduce

My .gitify config includes

    dashboard_widget_placement:
        class: modDashboardWidgetPlacement
        primary:
            - dashboard
            - widget
            - user

Observed behavior

Building modDashboardWidgetPlacement from dashboard_widget_placement/...
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":4,"user":38}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":7,"user":38}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":3,"user":38}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":5,"user":38}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":2,"user":38}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":6,"user":9}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":8,"user":38}
- Primary Key Duplicate found: duplicate modDashboardWidgetPlacement with primary {"dashboard":1,"widget":1,"user":38}
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":4,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":7,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":3,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":5,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":2,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":6,"user":9} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":8,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.
- Attempting to resolve ID Conflict for {"dashboard":1,"widget":1,"user":38} with 1 duplicate(s).
  \ Unable to resolve ID conflict. The ID conflict will need to be solved manually.

Expected behavior

No duplicates should be found, as there aren't any in the database

Environment

Gitify version 2.1.0-pl
MODX version 3.0.3-pl
Operating System Debian
MySQL version 10.1.48-MariaDB
PHP version 7.4.30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions