Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35243

ItemGroup.getUrlChildPrefix not honored by views

XMLWordPrintable

      View.getJob(String} works for URL binding only in case ItemGroup.getUrlChildPrefix returns "job". It would be nicer to allow "item", "branch", etc. to be used, but these do not get URL-bound. Perhaps View.getDynamic(String) needs to consider the prefix?

      (AbstractFolder could do the same, though it is expected that a subclass overriding getUrlChildPrefix would add a static binding getter.)

      According to AbstractItem.getShortUrl, the prefix may be ".", which is to say no prefix at all. This is used by MatrixProject and others, though I suspect never for a TopLevelItem child.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: