-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.3.1 CE GA2, 7.3.2 CE GA3, 7.3.10 DXP GA1, Master
-
Component/s: ~[Archived] WCM
-
Labels:
-
Fix Priority:4
-
Last Working Version:
-
Git Pull Request:
-
QA Test Score:5
Step to reproduce:
- Site admin > Site Builder > Page Fragments
- Add a new fragment
- Edit the following code
<div class="fragment-configuration"> <button type="button" class="btn btn-primary">${configuration.buttonText}</button> </div>
{ "fieldSets": [ { "label": "Button", "fields": [ { "name": "buttonText", "label": "Button Text", "description": "button-text", "type": "text", "typeOptions": { "placeholder": "Set Button Name" }, "dataType": "string", "defaultValue": "" } ] } ] }
- Publish
- Add a page based on Blank
- Add the new fragment to page
Expected Results:
The new fragment should be shown in page.
Actual Results:
Request failed. The following error is thrown in browser console.
Workaround: Add validation to typeOptions, like this:
"type": "text", "typeOptions": { "placeholder": "Set Button Name", "validation": { "errorMessage": "", "type": "text" } }
Reproduced on:
Tomcat 9.0.17 + MySQL 5.7. Portal master GIT ID: 563dc037f8816938b79492180c370710b845e1e2.