[JIRA] (JENKINS-49731) p4-plugin viewFilter unusable

2019-08-16 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49731  
 
 
  p4-plugin viewFilter unusable   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188673.1519574557000.4126.1565967060391%40Atlassian.JIRA.


[JIRA] (JENKINS-49731) p4-plugin viewFilter unusable

2019-08-16 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen commented on  JENKINS-49731  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: p4-plugin viewFilter unusable   
 

  
 
 
 
 

 
 Sorry for the delay (over a year).  It's not possible for two implementations to have the same symbol.  I can't remember why, but one of them got renamed.  The DataBoundConstructor for viewFilter only takes one argument and it's possible that the older implementation got changed. FilterViewMaskImpl uses @Symbol("viewFilter") FilterPatternListImpl uses @Symbol("viewPattern")  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188673.1519574557000.4124.1565967000186%40Atlassian.JIRA.


[JIRA] (JENKINS-49731) p4-plugin viewFilter unusable

2018-02-25 Thread jenk...@x.keshi.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Takeshi Yaegashi created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49731  
 
 
  p4-plugin viewFilter unusable   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2018-02-25 16:02  
 
 
Environment: 
 Jenkins 2.89.4  p4-plugin 1.8.5  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Takeshi Yaegashi  
 

  
 
 
 
 

 
 Since 1.8.5, I'm getting IllegalArgumentException with viewFilter(): 

 

checkout perforce(credential: 'anything', filter: [viewFilter('//depot/any/path')], ...)
 

 

 

java.lang.IllegalArgumentException: Arguments to class org.jenkinsci.plugins.p4.filters.FilterPatternListImpl have to be explicitly named
	at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:276)
	at org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable.instantiate(UninstantiatedDescribable.java:168)
	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:394)
	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerceList(DescribableModel.java:485)
	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:387)
	at org.jenkinsci.plugins.structs.describable.DescribableModel.buildArguments(DescribableModel.java:340)
	at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:281)