Commit e30b2291 by Nilu

email fetcher minor modification

parent 2829c198
......@@ -315,7 +315,7 @@ public class PerformaEmailFetcher implements Runnable, InitialisationParticipant
@Override
public void run(ObjectTransaction objTran) throws FieldException, StorageException
{
if (jobIdentifier != null && !jobIdentifier.isEmpty())
if (jobIdentifier != null && !jobIdentifier.isEmpty() && StringUtils.isNumber(jobIdentifier))
{
Job job = Job.getJobByID(objTran, Long.parseLong(jobIdentifier));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment