Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-8183

p2OriginalUrl not set from REST api

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Will Not Implement
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: P2, Web REST API
    • Labels:
      None

      Description

      I ran into a null pointer exception while testing a plugin for P2. I found that the exception occurs when I try to add a remote repository to a virtual P2, but only when the remote's p2OriginalUrl property is not set. This property seems rather hidden, as it can only be accessed via the raw configuration descriptor file. It gets set automatically with the remote's url property when creating or updating the remote from the ui, but it does not get set from the REST api. This seems like a minor oversight, and will probably cause confusion for people using P2 via REST.

        Attachments

          Activity

            People

            Assignee:
            travisf Travis Foster
            Reporter:
            travisf Travis Foster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: