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

Symbol from unrelated Extension point conflicts with syntax?

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have symbol that implemented under my @ExtensionPoint, according to @Symbol javadocs it shouldn't conflict with other ExtensionPoints or syntax.
      Users reported that

       anyOf { branch: "XXX"} 
      

      conflicts with

       @Symbol{"branch"}
      

      that shouldn't happen.
      https://github.com/KostyaSha/github-integration-plugin/issues/274

        Attachments

          Activity

          Hide
          abayer Andrew Bayer added a comment -

          can you point me to the code where you're looking up the symbol? I believe (it's been a while since I've spent much time in the code in question, so I'm working from memory) that symbol lookups are scoped, so that if you don't provide a scope, you can end up with a result that isn't what you're expecting...

          Show
          abayer Andrew Bayer added a comment - can you point me to the code where you're looking up the symbol? I believe (it's been a while since I've spent much time in the code in question, so I'm working from memory) that symbol lookups are scoped, so that if you don't provide a scope, you can end up with a result that isn't what you're expecting...
          Hide
          integer Kanstantsin Shautsou added a comment -
          Show
          integer Kanstantsin Shautsou added a comment - Hi, issues discussion is here https://github.com/KostyaSha/github-integration-plugin/issues/274

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            integer Kanstantsin Shautsou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: