-
Notifications
You must be signed in to change notification settings - Fork 451
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
Fix getSupportedLocales calls where submisison locales are meant to be #10726
Comments
Hi @touhidurabir, could you please review the PRs above? (They are connected with controlled vocabularies that you are currently working on...) |
Hi @bozana the PRs from #10292 are merged . the changes for most of the above PRs are mostly have some conflict as those lines have updated . If I am not mistaken , the changes are like below Repo::controlledVocab()->getBySymbolic(
ControlledVocab::CONTROLLED_VOCAB_SUBMISSION_KEYWORD,
Application::ASSOC_TYPE_PUBLICATION,
$publication->getId(),
$journal->getSupportedSubmissionLocales()
); and considering your PRs , I think you mostly need to remove the param |
Hi @touhidurabir, I rebased. Could you please review the PRs? |
Hi @bozana all seems ok but tests are failing for OMP/OPS , seems require a rebase with ui-library . Once all tests pass, it should be good to merge . |
pkp/pkp-lib#10726 consider all existing submission metadata langauges
pkp/pkp-lib#10726 consider all existing submission metadata langauges
#10726 consider all existing submission metadata langauges
pkp/pkp-lib#10726 consider all existing submission metadata langauges
pkp/pkp-lib#10726 consider all existing submission metadata langauges
pkp/pkp-lib#10726 consider all existing submission metadata langauges
Now that we separated submission and metadata locales from context's UI and form locales (s. #9425), the places in the code where getSupportedLocales or getSupportedFormLocales are used need to be double checked and fixed if actually the submission and metadata locales are meant to be there.
Often this is used to get controlled vocabulary data like getKeywords, getSubjects, getDisciplines, getAgencies.
PRs:
The text was updated successfully, but these errors were encountered: