-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.3.10 DXP GA1, Master
-
Component/s: Fragments Toolkit
-
Labels:None
-
Fix Priority:4
-
Git Pull Request:
Step to reproduce:
- Run yo liferay-fragments in repo to create a new project
- Access to new project
- Run npm run add-fragment
- Open index.html file
- Insert the following tag to <div> tags
<img alt="Responsive Image" class="w-100 page-editor__editable" data-lfr-editable-id="image-square" data-lfr-editable-type="text" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAkSURBVHgB7cxBEQAACAIwtH8Pzw52kxD8OBZgNXsPQUOUwCIgAz0DHTyygaAAAAAASUVORK5CYII=" />
- Back to new project directory
- Run npm run import
Expected Results:
The import should fail and the error message is shown specifying the line of the mistake and the valid tags for the editable type specified.
Actual Results:
The import succeeds.
Reproduced on:
Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: 98b6a3e0f6ae263d0e5e3f17c76020bfbcdf5cdb.