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

Issue 28251 replacing api calls #28544

Merged
merged 54 commits into from
May 20, 2024
Merged

Conversation

fabrizzio-dotCMS
Copy link
Contributor

@fabrizzio-dotCMS fabrizzio-dotCMS commented May 13, 2024

Proposed Changes

  • A Feature Flag in the form of a method called isLocalizationEnhancementsEnabled has been added to activate/deactivate the functionality.
  • The Feature flag is for now on. If we want to release we need to set it to off.
  • Added the capability of accessing the language variable in the cache using only the key and the lang ID
  • Fixed a bug in the queries introduced when changed to show both live and working content. The bug was making all archived pieces of content appear in the results.
  • Fixes on Integration Tests
  • Fixes on postman test. That was caused by a dupe key introduced during the postman run. The unique key constraint can be lifted, so we must be prepared for such a situation.
  • New API Calls added next to the old one. The new ones are executed instead of the old APIs only if the feature flag is on.

fabrizzio-dotCMS and others added 30 commits May 3, 2024 13:15
@fabrizzio-dotCMS fabrizzio-dotCMS changed the base branch from master to issue-27979-lang-vars-backend-take-2 May 13, 2024 20:29
Base automatically changed from issue-27979-lang-vars-backend-take-2 to master May 13, 2024 21:42
@fabrizzio-dotCMS fabrizzio-dotCMS marked this pull request as ready for review May 17, 2024 17:10
@fabrizzio-dotCMS fabrizzio-dotCMS added this pull request to the merge queue May 20, 2024
Merged via the queue into master with commit 3a812ff May 20, 2024
26 checks passed
@fabrizzio-dotCMS fabrizzio-dotCMS deleted the issue-28251-api-calls-take-2 branch May 20, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Replace all api calls that retrieve LanguageKey by the a new APIs that return LanguageVariable (Content)
3 participants