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 "Elliot Metsger (JIRA)" <ji...@apache.org> on 2007/05/18 04:12:16 UTC

[jira] Resolved: (PLUTO-356) Pluto Driver not using injected Portal URL Parser

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

Elliot Metsger resolved PLUTO-356.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.4

PortalURLParser is now provided as an argument to the RelativePortalURLImpl constructor.   Fix committed to the pluto-1.1.x branch.  Nate if you could confirm that this fixes things for you, it would be appreciated.  Thanks!

> Pluto Driver not using injected Portal URL Parser
> -------------------------------------------------
>
>                 Key: PLUTO-356
>                 URL: https://issues.apache.org/jira/browse/PLUTO-356
>             Project: Pluto
>          Issue Type: Bug
>          Components: portal driver
>    Affects Versions: 1.1.2
>            Reporter: Nate Johnson
>         Assigned To: Elliot Metsger
>            Priority: Critical
>             Fix For: 1.1.4
>
>         Attachments: PLUTO-356.patch
>
>
> Hi all,
> We are in the process of upgrading to pluto 1.1.2 and have run into a small problem.  We have taken advantage of the new IoC to inject the required and optional services into our container services (ContainerServicesImpl).  It appears that the PortalURLImpl and RelativePortalURLImpl classes in the driver are not using the injected override service for URL creation (PortalURLParser).  The code below is showing the singleton access which always comes from org.apache.pluto.driver.url.impl rather than the container services.
> // The toString() method for both classes listed below
> org.apache.pluto.driver.url.impl.PortalURLImpl
>   and
> org.apache.pluto.driver.url.impl.RelativePortalURLImpl
> public String toString() {
>     return PortalURLParserImpl.getParser().toString(this);
> }
> Am I just confused as to how this should work, or was this singleton just missed?
> Best,
> Nate
> -- 
> Nathaniel A. Johnson                           Voice: 812.855.9905
> Principal Systems Analyst                        Fax: 812.856.9046
> Systems Integration Team, Indiana University 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.