-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.1.10 DXP FP13, 7.1.10.3 SP3, 7.1.X, 7.2.10 DXP FP1, 7.2.X, 7.2.1 CE GA2, 7.3.10 DXP GA1, Master
-
Component/s: Dynamic Data Mapping > Form Builder
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
A 404 error is produced in dynamic-data-mapping-form-builder CSS in case of configuring Liferay with a non-ROOT context.
The 404 error is produced because CSS URL doesn't have the context prefix.
Wrong URL was added in LPS-93069 (see commit 54b9facafac8989a3307104184a982933bf5ec42 ) causing the issue in 7.2.x and master branches.
That code is being backported to 7.1.x in LPS-98514
Steps to reproduce
- Configure Liferay with a non-ROOT context, for example: "test".
- In order to do this, simply rename tomcat-9.x.y/webapps/ROOT and tomcat-9.x.y/conf/Catalina/localhost/ROOT.xml to test and test.xml
- Start Liferay
- Open the URL: http://localhost:8080/test , appending the context you have just added in previous step
- Open browser developer tools => network
- In the Navigation menu, go to Site => Content => Form
- Click in [+] button in order to create a Form.
- Check downloaded CSS:
- Expected behavior: There aren't any 404 errors in browser developer tools
- Wrong behavior: There is a 404 error in dynamic-data-mapping-form-builder CSS
- Expected behavior: There aren't any 404 errors in browser developer tools