Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Failing test case:
V2URLTests_ResourceURL_ApiRenderResurl_getCacheability
The API documentation states that Possible return values are for the getCacheability() method are ResourceURL.FULL, ResourceURL.PORTLET or ResourceURL.PAGE.
If a resource URL is created in the render method and cacheability has not been explicitly set, the default cacheability for the portlet URL is ResourceURL.PAGE (="cacheLevelPage"), meaning that the getCacheability() method executed on that URL should return "cacheLevelPage" as well. However, the method returns an incorrect value of null.