Menu

#2159 PackIn is linking workflow start node wrongly

closed-fixed
2Pack (92)
9
2010-05-01
2009-10-06
Teo Sarca
No

PackIn is linking workflow start node wrongly, to a node with the same name but from other workflow.

To prevent this, i will fix the WorkflowElementHandler class but I would like also to add following database contraint:

CREATE UNIQUE INDEX ad_wf_node_workflownode ON ad_wf_node (ad_workflow_id, ad_wf_node_id);
ALTER TABLE AD_Workflow DROP CONSTRAINT adwfnode_adworkflow;
ALTER TABLE AD_Workflow ADD CONSTRAINT adwfnode_adworkflow FOREIGN KEY (ad_wf_node_id, ad_workflow_id)
REFERENCES ad_wf_node (ad_wf_node_id, ad_workflow_id);

What do you think ?

Best regards,
Teo Sarca

Discussion

  • Carlos Ruiz

    Carlos Ruiz - 2010-04-16
    • status: open --> pending-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB