endevor is not showing comments at the target location after a Transfer Action
search cancel

endevor is not showing comments at the target location after a Transfer Action

book

Article ID: 142835

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

After transferring an element in Endevor the CCID and COMMENT are missing at the target location. The comment does appear when we use the "browse element" for example. If another transfer with a comment on the same element is performed, the browse always shows only the last comment on the last version and not the previous ones. 

 

 

 

Resolution

What happens with the CCID and/or Comment depends on what options are coded when the transfer action is performed.   

When  a CCID and/or comment is coded in a TRANSFER action, Endevor updates CCID and/or COMMENT fields differently, depending on whether the TRANSFER request is coded without history, with history, or with synchronization.

When  a CCID and/or comment is coded in a TRANSFER action WITHOUT HISTORY Endevor uses this CCID and/or comment to:
  • Set the generate and component list delta CCID and/or COMMENT fields if the generate Processor is run.
  • Sets the last action CCID and/or COMMENT fields.
 
Endevor:
  • Clears the retrieve CCID and/or COMMENT fields.
  • Sets the current source CCID and /or COMMENT fields from their value in the previous Stage.
  • Sets the source delta CCID and/or COMMENT fields from their last delta value in the previous Stage.

Example of transfer without history and the browse: 

TRANSFER ELEMENT ELEMENT1                                      
FROM  ENV ENV1                                                 
      SYS SYS1                                                 
      SUB SUBS1                                                
      TYP TYPE1                                                
      STA 1                                                    
TO ENV ENV1                                                    
   SYS SYS1                                                    
   SUB SUBS2                                                   
   TYPE TYPE1                                                  
   STA  1                                                      
OPTION CCID 'TRANSFER' COMMENT 'TRANSFER FROM SUBS1 TO SUBS2'  
       BYPASS ELEMENT DELETE                                   

Browse of the element at the TARGET location: 

-------------------------- SOURCE LEVEL INFORMATION --------------------------- 

                                                                                
  VVLL SYNC USER     DATE    TIME     STMTS CCID         COMMENT                
  ---- ---- -------- ------- ----- -------- ------------ -----------------------
  0100      USER123  09JAN20 11:59        3 UPDATE       UPDATE ELEMENT SECOND T
GENERATED   USER123  09JAN20 11:59          TRANSFER     TRANSFER FROM SUBS1 TO 


When a CCID and/or comment is coded in a TRANSFER action using the WITH HISTORY option, Endevor uses the CCID and/or comment to:

  • Set the generate and component list delta CCID and/or COMMENT fields if the generate Processor is run.
  • Sets the last action CCID and/or COMMENT fields.

Endevor also:

  • Clears the retrieve CCID and/or COMMENT fields.
  • Sets the current source CCID and/or COMMENT fields from their value in the previous Stage.
  • Moves source delta CCIDs and COMMENTs with their respective delta levels.

Example of Transfer with History: 

TRANSFER ELEMENT ELEMENT2                                    
FROM  ENV ENV1                                               
      SYS SYS1                                               
      SUB SUBS1                                              
      TYP TYPE1                                              
      STA 1                                                  
TO ENV ENV1                                                  
   SYS SYS1                                                  
   SUB SUBS2                                                 
   TYPE TYPE1                                                
   STA  1                                                    
OPTION CCID 'TRANSFER' COMMENT 'TRANSFER FROM SUBS1 TO SUBS2'
       BYPASS ELEMENT DELETE                                 
       WITH HISTORY                                          
.                                                            

Browse of element at the Target Location:                                                                                 
-------------------------- SOURCE LEVEL INFORMATION --------------------------- 
                                                                                
  VVLL SYNC USER     DATE    TIME     STMTS CCID         COMMENT                
  ---- ---- -------- ------- ----- -------- ------------ -----------------------
  0100   H  USER123  09JAN20 11:58        1 ADD          ADD ELEMENT            
  0101   H  USER123  09JAN20 11:59        3 UPDATE       UPDATE ELEMENT         
  0102      USERXYZ  09JAN20 11:59        3 UPDATE       UPDATE ELEMENT SECOND T
GENERATED   UXERXYZ  09JAN20 11:59          TRANSFER     TRANSFER FROM SUBS1 TO 

 

When  a CCID and/or comment is coded in a TRANSFER action using the SYNCHRONIZE option, Endevor uses this CCID and/or comment to:

  • Clear the retrieve CCID and/or COMMENT fields.
  • Set the current source CCID and/or COMMENT fields from their value in the previous Stage.
  • Set the source delta CCID and/or COMMENT fields from their value at the target of the transfer, with a sync flag.

If you use BYPASS GENERATE PROCESSOR, the TRANSFER action will not set the generate or component list delta CCID and/or COMMENT field.