-
Notifications
You must be signed in to change notification settings - Fork 470
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
Create Task Upgrade to create new unique_field table #30275
Comments
…30301) ### Proposed Changes * Create new Task Upgrade to create and popualate the new unique_fields table Create https://github.com/dotCMS/core/pull/30301/files#diff-93fb205d6a0d941cfc0933bbfbfc3dd5bc70723d3fc8a8513f8058939ec7f901R113 and populate https://github.com/dotCMS/core/pull/30301/files#diff-93fb205d6a0d941cfc0933bbfbfc3dd5bc70723d3fc8a8513f8058939ec7f901R116 it is not add in the TaskLocatorUtil, I am going to it in a future PR --------- Co-authored-by: spbolton <[email protected]>
Note to QA: The task hasn't been added to the TaskLocatorUtil yet, so you'll need to run it manually or add it for QA testing. Please don't push this change for now. It's important to check during IQA if the unique_tables are being populated correctly, to check the table popualte you are going to need to execute the query directly into the Database. I think QA is not need here because the whole fix is still a Work in progress. |
Approved: Tested on trunk_17da5c2, Docker, macOS 14.5, FF v126.0.1 |
…30301) ### Proposed Changes * Create new Task Upgrade to create and popualate the new unique_fields table Create https://github.com/dotCMS/core/pull/30301/files#diff-93fb205d6a0d941cfc0933bbfbfc3dd5bc70723d3fc8a8513f8058939ec7f901R113 and populate https://github.com/dotCMS/core/pull/30301/files#diff-93fb205d6a0d941cfc0933bbfbfc3dd5bc70723d3fc8a8513f8058939ec7f901R116 it is not add in the TaskLocatorUtil, I am going to it in a future PR --------- Co-authored-by: spbolton <[email protected]>
Parent Issue
#29459
User Story
According to spike #29707, the best solution to address the unique fields bug is to create a new table to store and validate all unique values. To implement this, we need to create a new Task Upgrade to create and populate this new unique_fields table.
New Table Structure
The unique_key_val is the PK of the table.
Populate New Table
We need to populate this new table with the unique field values that already exist in the system. The following query was used during the spike to retrieve these unique values:
Required Update:
The query above does not yet account for the content_identifier and the uniquePerSite field variable. We need to update this query to support these fields for the final fix.
Acceptance Criteria
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: