Bug 185622

Summary: AD: Undo contributes/replace is not removing link between read only activity and contributing/replacing activity.
Product: z_Archived Reporter: Shashidhar Kannoori <skannoor>
Component: EPFAssignee: Shashidhar Kannoori <skannoor>
Status: CLOSED FIXED QA Contact: hopeshared lee <lihongx>
Severity: normal    
Priority: P3 Keywords: ui
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Shashidhar Kannoori CLA 2007-05-04 18:06:50 EDT
Steps:
1. Create two CPs: CP1, CP2
2.In CP1, create three activities: A1, A2, A3. And link them as follows:
   A1 ------> A2 -----> A3
     
2.Extend CP1 into CP2. Make A3 'contributes to'. 
3.Verify AD. A3 is black now. 
4.Draw a link from A1 to A3. Goto WBS and 'undo contributes' on A3. Verify AD. Link between A1 and A3 is still present and is in green.
Comment 1 Shashidhar Kannoori CLA 2007-05-04 18:07:21 EDT
Defect is causing because associated diagram editors are not closed on contribute/undo contribute action. Fixed to close the diagram editors on local contribution actions. 

In detail:
If local contribution is set on readonly activity (extend activity/green ones), local contribution action will create a new activity with contribute type generalization and set local contribution to all its parents.  
In case any type of diagram is opened for readonly(green one) activity and its parents,  on doing a local contribution action on activity, action will automatically closes all associated diagrams editors of readonly activity and its parent activity if parent state change to local contribution. Similarly undo local contribute action will close all diagram editors associated to contributed activity and its parents (if changed to local contribution). 
Comment 2 Bingxue Xu CLA 2007-05-07 20:31:37 EDT
resolved by mistake.
Comment 3 Shashidhar Kannoori CLA 2007-05-09 21:44:23 EDT
Resolved.
Comment 4 Jiang Xuan CLA 2007-05-14 00:55:01 EDT
Verified on build label 20070512-1421. Closed.
Comment 5 hopeshared lee CLA 2007-06-18 21:38:29 EDT
Fix is verified on EPF 1.2M3 20070615. Closed.