-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.X EE, Master
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP24, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Component/s: UI Taglibs
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Reproducing steps:
- In a given site, create an Application Display Template with script
<form> <@liferay_ui["input-localized"] name="my-complicated_name" xml="" type="editor"/> </form>
In 6.2.x it is necessary to preface the previous code with
<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] />
- Add an Asset Publisher to a site page and configure the Display Template to the one just created ( three-dots > Configuration > Display Settings > Display Template).
Observed: The editor is unusable and there is a JavaScript error in the browser console about a null variable in input_localized.js.
Expected: The editor can be used and no errors are displayed.
- relates
-
LPE-15994 Using special characters in the name attribute for the input-localized taglib causes a JavaScript error
- Closed