You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Scott Nicklous (JIRA)" <ji...@apache.org> on 2014/10/08 14:10:33 UTC

[jira] [Created] (PLUTO-638) TCK: ResourceURL#getCachebility() returns an invalid value (null)

Scott Nicklous created PLUTO-638:
------------------------------------

             Summary: TCK: ResourceURL#getCachebility() returns an invalid value (null)
                 Key: PLUTO-638
                 URL: https://issues.apache.org/jira/browse/PLUTO-638
             Project: Pluto
          Issue Type: Bug
            Reporter: Scott Nicklous
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)