[jbosstools-issues] [JBoss JIRA] (JBIDE-20147) Batch Property mapping issue with reference

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed Jul 15 11:18:07 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089746#comment-13089746 ] 

Viacheslav Kabanovich edited comment on JBIDE-20147 at 7/15/15 11:17 AM:
-------------------------------------------------------------------------

Well, now I see that I fixed something else instead - same issue with @Named. 


was (Author: scabanovich):
It works for me, and there is an automatic test that passes. Please attach your project.

> Batch Property mapping issue with reference
> -------------------------------------------
>
>                 Key: JBIDE-20147
>                 URL: https://issues.jboss.org/browse/JBIDE-20147
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: batch
>    Affects Versions: 4.3.0.Beta1
>         Environment: Mars 
> Tools 4.3.0 Beta1
>            Reporter: Cody Lerum
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.3.0.CR1
>
>
> After upgrading to Mars and JBT I started getting a validation warning on my batch configuration
> If I have the following I get an error {{Property "INVOICE_JOB_ID" is not found in artifact "invoiceCreateBatchlet" and is not used in other properties.}}
> {code}
> @Inject
> @BatchProperty(name = InvoiceCreatePartitionMapper.INVOICE_JOB_ID_KEY)
>     private String invoiceJobId;
> {code}
> In a different class
> {code}
> public static final String INVOICE_JOB_ID_KEY = "INVOICE_JOB_ID";
> {code}
> However if have the following there is no warning.
> {code}
> @Inject
> @BatchProperty(name = "INVOICE_JOB_ID")
>     private String invoiceJobId;
> {code}
> It appears that the validation logic cannot follow the reference



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list