Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicates detected for modDashboardWidgetPlacement but no duplicates in database #453

Open
pbowyer opened this issue Apr 13, 2024 · 0 comments

Comments

@pbowyer
Copy link
Contributor

pbowyer commented Apr 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant