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

[Locales] : Remove hyphens from Feature Flag name #30387

Closed
jcastro-dotcms opened this issue Oct 17, 2024 · 1 comment · Fixed by #30388
Closed

[Locales] : Remove hyphens from Feature Flag name #30387

jcastro-dotcms opened this issue Oct 17, 2024 · 1 comment · Fixed by #30388
Assignees
Labels
dotCMS : Localization Includes i18n and multi-lingual issues Team : Falcon Type : Defect

Comments

@jcastro-dotcms
Copy link
Contributor

jcastro-dotcms commented Oct 17, 2024

Parent Issue

Problem Statement

The hyphens present in the Feature Flag used for showing/hiding the old Languages portlet:

FEATURE_FLAG_LOCALES_HIDE-OLD-LANGUAGES-PORTLET

Are not working correctly when setting this as an env var. The hyphens must be replaced with underscores.

Steps to Reproduce

  • Start dotCMS with the latest Docker image.
  • Set the FF in false, like this:
DOT_FEATURE_FLAG_LOCALES_HIDE-OLD-LANGUAGES-PORTLET: 'false'
  • Go to the Roles & Tools portlet. You'll see that the 'Languages` portlet is still not showing up.

Acceptance Criteria

Setting the FF to false must display the Languages portlet in the dropdown. The corrected FF name is:

DOT_FEATURE_FLAG_LOCALES_HIDE_OLD_LANGUAGES_PORTLET

You can follo the same steps to reproduce from the parent ticket: #30300

dotCMS Version

Latest from main

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

Copy link

github-merge-queue bot pushed a commit that referenced this issue Oct 18, 2024
### Proposed Changes
* Removing hyphens from Feature Flag name as they don't play well with
the env var naming convention.
@jcastro-dotcms jcastro-dotcms removed their assignment Oct 18, 2024
@dsilvam dsilvam removed the Triage label Oct 18, 2024
@dsilvam dsilvam self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotCMS : Localization Includes i18n and multi-lingual issues Team : Falcon Type : Defect
Projects
Status: Internal QA
Development

Successfully merging a pull request may close this issue.

2 participants