Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X
-
7.0.x
-
Committed
-
1
-
4
Description
The import-layouts API within LayoutLocalServiceImpl was deprecated in 7.0 with no direct replacement. Since this deprecation is new, it effectively removes the feature of being able to do export/imports with JSON WS (now all the methods require an ExportImportConfiguration object that you can't get through JSON WS), and the removal was not documented in the breaking changes document for DXP, we must consider this removal a bug.
In master, this may not be considered a bug, since this policy only applies to release versions.
Steps to reproduce
- Start up Liferay, and navigate to localhost:8080/api/jsonws
- Attempt to invoke the import-layouts API in the "Layout" section (for LayoutLocalServiceImpl)
- Result: an UnsupportedOperationException is thrown
- Check for other API to invoke an import with (API requiring an ExportImportConfiguration object cannot be invoked through JSON WS)
Expected result: API in /api/jsonws can be used to invoke Liferay export/imports without customizations, like in previous versions
Actual result: No API in /api/jsonws can be used without customizations to invoke Liferay export/imports
Reproduced in 7.0.x: 63a9fbbad02e2672db95ced62989b30ca801909f