[jira] [Closed] (PLUTO-756) PortletV3AnnotatedDemo injects dependent-scoped strings into @ApplicationScoped bean
"Neil Griffin (JIRA)" <[email protected]> Wed, 27 Mar 2019 22:14:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.pluto.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/PLUTO-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neil Griffin closed PLUTO-756.
------------------------------
Resolution: Fixed
Fixed in commit [1a33dc3cf9756993d0dc9dc006ec5fe03d1a9d11|https://github.com/apache/portals-pluto/commit/1a33dc3cf9756993d0dc9dc006ec5fe03d1a9d11].
> PortletV3AnnotatedDemo injects dependent-scoped strings into @ApplicationScoped bean
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-756
> URL: https://issues.apache.org/jira/browse/PLUTO-756
> Project: Pluto
> Issue Type: Bug
> Components: demo portlets
> Affects Versions: 3.0.0, 3.0.1
> Reporter: Neil Griffin
> Assignee: Neil Griffin
> Priority: Major
> Fix For: 3.0.2
>
>
> Similar to PLUTO-752, the PortletV3AnnotatedDemo has a class named HelloWorldImage.java and another named PathInfoPortlet.java that inject {{@ContextPath}} and {{@Namespace}} dependent-scoped strings into {{@ApplicationScoped}} beans. This is incorrect because the values for these are determined within the scope of a portlet request. See the description of PLUTO-752 for more details.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)