-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Description
Expected Behaviour
Should not try to load dictionary if not present for the language
Actual Behaviour
404 Not Found - for call
https:///etc.clientlibs/core/fd/af-clientlibs/core-forms-components-runtime-all/resources/i18n/nl-nl.json
We have high amount of 404 not found highlighted in Production monitoring logs because of this issue.
Reproduce Scenario (including but not limited to)
We have a page authored with lang=nl-nl , The form on initialization is trying to load languages and throwing 404 not found for languages not present under /apps/core/fd/af-clientlibs/core-forms-components-runtime-all/resources/i18n
Steps to Reproduce
1)Author a page with lang=nl-nl
2)Add Form onto the page
3)Publish the page
4)View in publish
Platform and Version
AEM 6.5.22
AEM Version (mention the exact version in case of cloud SDK)
AEM Forms Version
1.1.66
Sample Code that illustrates the problem
const _langData = await HTTPAPILayer.getJson(url); |