Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3058

NamespacedLocationFactory doesn't append correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: App Fabric
    • Labels:
      None
    • Rank:
      1|hzywb3:

      Description

      NamespacedLocationFactory has a method:

      get(Id.Namespace namespaceId, @Nullable String subPath)
      

      this method is supposed to return the namespace location plus the given subpath. Instead, it just returns the namespace location. So if you try and get a location then delete it.... you end up deleting the namespace.

      Thankfully this isn't called anywhere (at the moment) with a non-null subpath, but it is needs to be fixed asap.

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: