-
Notifications
You must be signed in to change notification settings - Fork 467
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
When the 'uniquePerSite' is set recalculate unique_fields key values #30281
Closed
Tracked by
#29459
Labels
dotCMS : Content Management
OKR : Customer Success
Owned by Arno
OKR : Customer Support
Owned by Scott
QA : Approved
QA : Passed Internal
Release : 24.11.29
Team : Falcon
Comments
freddyDOTCMS
moved this from Next 1-3 Sprints
to Current Sprint Backlog
in dotCMS - Product Planning
Oct 16, 2024
jcastro-dotcms
moved this from Current Sprint Backlog
to In Progress
in dotCMS - Product Planning
Nov 13, 2024
jcastro-dotcms
added a commit
that referenced
this issue
Nov 18, 2024
…able is set, recalculate key values in the `unique_fields` table
jcastro-dotcms
added
OKR : Customer Success
Owned by Arno
OKR : Customer Support
Owned by Scott
labels
Nov 19, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 20, 2024
…able is set, recalculate key values in the `unique_fields` table (#30693) ### Proposed Changes * When the 'uniquePerSite' Field Variable is added, updated, or deleted, recalculate key values in the `unique_fields` table. * After discussion with Freddy R, the hash calculation has been moved from Java code to PostgreSQL code. * UI Notifications/ Toasts are being added when the new hash is being calculated, and when it finishes. * Added new and formatted existing Javadoc.
github-project-automation
bot
moved this from In Review
to Internal QA
in dotCMS - Product Planning
Nov 20, 2024
github-project-automation
bot
moved this from Internal QA
to Current Sprint Backlog
in dotCMS - Product Planning
Nov 20, 2024
jcastro-dotcms
moved this from Current Sprint Backlog
to Internal QA
in dotCMS - Product Planning
Nov 20, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 21, 2024
… field recalculation (#30730) ### Proposed Changes * Improving the way errors are reported for unique validation recalculation.
github-project-automation
bot
moved this from In Review
to Internal QA
in dotCMS - Product Planning
Nov 21, 2024
github-project-automation
bot
moved this from Internal QA
to Current Sprint Backlog
in dotCMS - Product Planning
Nov 21, 2024
jcastro-dotcms
moved this from Current Sprint Backlog
to Internal QA
in dotCMS - Product Planning
Nov 21, 2024
victoralfaro-dotcms
moved this from Internal QA
to QA - Backlog
in dotCMS - Product Planning
Nov 26, 2024
josemejias11
moved this from QA - Backlog
to QA - In Progress
in dotCMS - Product Planning
Nov 26, 2024
Approved: Tested on trunk_e15f58e, Docker, macOS 14.5, FF v126.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dotCMS : Content Management
OKR : Customer Success
Owned by Arno
OKR : Customer Support
Owned by Scott
QA : Approved
QA : Passed Internal
Release : 24.11.29
Team : Falcon
Parent Issue
#29459
User Story
If in a unique fields the uniquePerSite field variable is changed then be need recalculated the unique_key hash values for the unique_table, to include or exclude the host id according to the new value.
We need to create a API/Factory methods to do this.
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
Steps to Reproduce:
unique_field
table exists. So, run a CURL like this one:My CT
with two fields:Site
Title
, and marked asUnique
, and add a Field Variable nameduniquePerSite
with the value oftrue
.www.empty.com
.My CT
, with THE SAME VALUE for the unique field, but one living underdemo.dotcms.com
and the other one living underwww.empty.com
. They must be created without problem.Title
field, and delete theuniquePerSite
Field Variable.No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: