[JIRA] (JENKINS-51947) Symbol from unrelated Extension point conflicts with syntax?

2 views
Skip to first unread message

gentoo.integer@gmail.com (JIRA)

unread,
Jun 14, 2018, 12:14:02 PM6/14/18
to jenkinsc...@googlegroups.com
Kanstantsin Shautsou created an issue
 
Jenkins / Bug JENKINS-51947
Symbol from unrelated Extension point conflicts with syntax?
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2018-06-14 16:13
Priority: Major Major
Reporter: Kanstantsin Shautsou

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Aug 7, 2018, 9:28:02 AM8/7/18
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Bug JENKINS-51947
 
Re: Symbol from unrelated Extension point conflicts with syntax?

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...

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

kanstantsin.sha@gmail.com (JIRA)

unread,
May 26, 2019, 5:10:02 PM5/26/19
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages