juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-143) Static files mapping doesn't properly handle override scenarios.
Date Sun, 08 Sep 2019 15:29:00 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Bognar closed JUNEAU-143.
-------------------------------
    Fix Version/s: 8.1.1
       Resolution: Fixed

> Static files mapping doesn't properly handle override scenarios.
> ----------------------------------------------------------------
>
>                 Key: JUNEAU-143
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-143
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 8.1.0
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.1
>
>
> The order of lookup of files in RestResource.staticFiles is incorrect in the override
scenario. 
> In the following example, if a file resides in both the parent and child "bar" subpackages,
the parent file is returned instead of the child.  This is not the correct behavior. 
> {{@RestResource(staticFiles="foo:bar")}}
>  {{public class ParentResource {}}}
> {{@RestResource(staticFiles="foo:bar")}}
>  {{public class ChildResource extends ParentResource {}}}
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message