Open dotfeng opened 6 years ago
I don's see yet how PDOL can be null
within Candidate
. As far as I can see this could only happen when CandidateBuilder.pdol(byte[])
is called with null
, which it isn't:
What I agree is, that after final application selection in InitiateApplicationProcessing
, the Candidate
doesn't get updated. Which should not be be a problem in general, since why should data change between two selections?
What you mention is in tryAIDs(), but not tryPSE(), when I get candidates from pse, then selectCandidate in InitiateApplicationProcessing
, the adf is from new RAPDU, but it's pdol is not update to candidate, which is already in candidates, I add this to Line 70 in InitiateApplicationProcessing to update candidate's pdol
ADF file = new ADF(TLV.parse(response.getData())); candidate.setPdol(file.getPDOL());
ProcessingOptions.execute(), line 60, transaction.getCandidate().getPDOL() is null, InitiateApplicationProcessing.selectCandidate(), line 70, ADF has new pdol, but do not update to candidate