-
Bug
-
Resolution: Done
-
Major
-
4.3.0.Beta1
-
None
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.
@Inject @BatchProperty(name = InvoiceCreatePartitionMapper.INVOICE_JOB_ID_KEY) private String invoiceJobId;
In a different class
public static final String INVOICE_JOB_ID_KEY = "INVOICE_JOB_ID";
However if have the following there is no warning.
@Inject @BatchProperty(name = "INVOICE_JOB_ID") private String invoiceJobId;
It appears that the validation logic cannot follow the reference