Pluto
  1. Pluto
  2. PLUTO-469

Pluto Driver not using injected Portal URL Parser

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.1.2, 1.1.4
    • Fix Version/s: 2.0.0
    • Component/s: portal driver
    • Labels:
      None

      Description

      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

        Issue Links

          Activity

          Elliot Metsger created issue -
          Elliot Metsger made changes -
          Field Original Value New Value
          Link This issue is a clone of PLUTO-356 [ PLUTO-356 ]
          Elliot Metsger made changes -
          Fix Version/s 1.1.5 [ 12312652 ]
          Hide
          Eric Dalquist added a comment -
          Show
          Eric Dalquist added a comment - PLUTO-356
          Eric Dalquist made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Mark Thomas made changes -
          Workflow jira [ 12424873 ] Default workflow, editable Closed status [ 12565036 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12565036 ] jira [ 12586164 ]

            People

            • Assignee:
              Elliot Metsger
              Reporter:
              Elliot Metsger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development