[TAV-721] T2 Valdation fails for processors containing merged ports. Created: 2008-02-14  Updated: 2013-12-11  Resolved: 2008-03-12

Status: Resolved
Project: myGrid
Component/s: None
Affects Version/s: 1.7
Fix Version/s: 1.7.1

Type: Bug Priority: Major
Reporter: Stuart Owen Assignee: Stuart Owen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

If a workflow contains a port with multiple inputs set to "Merge" then the workflow succesfully translates to a T2 dataflow, but subsequently fails to validate.
This is because the merge is being handled by inserting a new node in the dataflow, which isn't a Processor but a TokenProcessorEntity causing it to be skipped during the type checking phase.
This fix for this looks like it should be to move the doTypeCheck from Processor to TokenProcessorEntity, and have the type checking run over all TokenProcessingEntities.

I've added an integration test that flags this problem: TranslateAndRunTest::testTranslateAndValidateWithMerge which currently fails.



 Comments   
Comment by Stuart Owen [ 2008-03-12 ]

This has now been fixed.

Generated at Sun Sep 20 14:32:52 BST 2020 using JIRA 6.1.2#6157-sha1:98c729218aad6de1537eb8e98889ee5562c90d96.