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

[Unique Fields] : Avoid validation when Unique Field values have not changed #30704

Open
Tracked by #29459
jcastro-dotcms opened this issue Nov 19, 2024 · 0 comments
Open
Tracked by #29459

Comments

@jcastro-dotcms
Copy link
Contributor

Parent Issue

Task

When updating a Contentlet with one or more Unique Fields, we're always triggering the recalculation process on their values, even when they've not changed at all. This is not a big deal when using the Elasticsearch Strategy; however, it might not be a great idea when using the Database Strategy.

We need to be able to detect whether those values have changed or not, so we don't kick off the re-generation process when is not required.

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

Acceptance Criteria

The recalculation process must not be kicked off when Unique Fields haven't been updated.

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

Unless we log a message, the only way for QA to figure out when the recalculation process was not triggered is to notice that updating a Contentlet with an unchanged Unique Field takes less time compared to the moment it was created.

Sub-Tasks & Estimates

No response

@jcastro-dotcms jcastro-dotcms moved this from New to Next 1-3 Sprints in dotCMS - Product Planning Nov 19, 2024
@jcastro-dotcms jcastro-dotcms changed the title [Unique Fields] : Avoid recalculation when Unique Field values have not changed [Unique Fields] : Avoid validation when Unique Field values have not changed Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Next 1-3 Sprints
Development

No branches or pull requests

1 participant