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

Update Diacritics mapping config path. (#1735) #1736

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

melaniekung
Copy link
Contributor

Store diacritics_mapping.yml config file in uploads directory instead of conifg so that it will be copied during internal site upgrades and replications.

@melaniekung melaniekung requested a review from anvit January 15, 2024 19:53
@melaniekung melaniekung self-assigned this Jan 15, 2024
@melaniekung melaniekung added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label Jan 15, 2024
@melaniekung melaniekung added this to the 2.8.1 milestone Jan 15, 2024
@@ -71,7 +71,8 @@ protected function processField($field)
case 'mappings':
$file = $this->form->getValue('mappings');

$diacriticsMappingPath = sfConfig::get('sf_config_dir').DIRECTORY_SEPARATOR.'diacritics_mapping.yml';
// $diacriticsMappingPath = sfConfig::get('sf_config_dir').DIRECTORY_SEPARATOR.'diacritics_mapping.yml';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove commented out code. The rest looks good!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@melaniekung melaniekung force-pushed the dev/update-diacritics-mapping-path branch from 306f118 to 33c7832 Compare January 19, 2024 17:40
@melaniekung melaniekung requested a review from anvit January 19, 2024 17:41
@melaniekung melaniekung merged commit 3094418 into qa/2.x Jan 23, 2024
6 checks passed
@melaniekung melaniekung deleted the dev/update-diacritics-mapping-path branch January 23, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem: Diacritics mapping config is not tracked during internal upgrade/replication.
2 participants