Uploaded image for project: 'Service Binding Manager'
  1. Service Binding Manager
  2. SVCBIND-3

Setting the hostName property on ServiceBindingMetadata does not set fixedHostName to true

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.GA, 1.1.0.CR1
    • Fix Version/s: 1.1.0.Final
    • Component/s: Core
    • Labels:
      None

      Description

      Problem is here:

      public void setHostName(String hostName)
      {
      this.hostName = hostName;
      // Assume that setting a host name means it's meant to be fixed
      if (this.fixedHostName == null)

      { setFixedHostName(hostName == null); // WRONG!!!! }

      }

      Should be setFixedHostName(hostName != null)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  brian.stansberry Brian Stansberry
                  Reporter:
                  brian.stansberry Brian Stansberry
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: