Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
710:lost_found [2024/07/30 14:45] Lachner, Ingo710:lost_found [2024/07/31 07:19] (current) – [How to handle elements in LOST+FOUND] Lachner, Ingo
Line 3: Line 3:
 **Root cause for LOST+FOUND **  **Root cause for LOST+FOUND ** 
  
-If an element is removed, but other objects - e.g. elements, files, user assignments - for which Stages did not receive an explicit order to delete, are dependent on that element. Those elements are moved to LOST+FOUND to prevent them from being deleted.+If an process element is removed, but other objects—such as process elements, files, or user assignments—depend on that element and Stages did not receive an explicit order to delete themthose dependent objects are moved to LOST+FOUND to prevent them from being deleted.
  
 +We recommend that you contact your Method Park by UL Solutions consultant to analyse the root causes of elements in LOST+FOUND.
  
-All cases listed below are variations of this core problem.+All cases listed below are examples of this core problem.
  
 ==== 1. LOST + FOUND after the release of a new valid version ==== ==== 1. LOST + FOUND after the release of a new valid version ====
Line 14: Line 15:
 Example: Example:
  
-  * Create a  work product WP1 with a link (or upload a file, or connect to a file in a CMS) +  * Create a work product WP1 with a link (or upload a file, or connect to a file in a CMS) 
-  * Create a version V1 and set it to valid+  * Create a process version V1 and set it to valid
   * Delete WP1 in the working version   * Delete WP1 in the working version
-  * Create a V2 and set it to valid+  * Create a process version V2 and set it to valid
  
---> LOST+FOUND folder is created for WP1 so that the link is not lost+→ LOST+FOUND folder is created for WP1 so that the link is not lost
  
 **Case 1.2: A role with a user assignment is deleted** **Case 1.2: A role with a user assignment is deleted**
  
- Proceed like in Case 1.1, only in this case use a role and assign a user.+Example:
  
-→ User assignment and therefore maybe access rights would be lost if the role was deleted.+  *  Create a role ROLE1 and assign a user 
 +  *  Create a process version V1 and set it to valid 
 +  *  Delete ROLE1 in the working version 
 +  *  Create a process version V2 and set it to valid
  
 +→ LOST+FOUND folder is created for ROLE1 so that the user assignment is not lost and prevents the user from losing access rights
  
 ==== 2. LOST + FOUND while using modules ==== ==== 2. LOST + FOUND while using modules ====
Line 32: Line 37:
 **Case 2.1: Imported project data/guidance files**  **Case 2.1: Imported project data/guidance files** 
  
-Integrate V1 in Case 1.1 or Case 1.2 in processmake an update with V2 → LOST+FOUND in the integrated process+Example: 
 + 
 +  * integrate process version V1 of Case 1.1 or Case 1.2 into a new process 
 +  * make the update and create V2 (see Case 1.1 or Case 1.2) 
 +  * update integrated process to use V2 
 + 
 +→ LOST+FOUND folder is created in the integrated process
  
 **Case 2.2: Local project data /guidance files** **Case 2.2: Local project data /guidance files**
  
-Project data is added locally in the integrated process for elements imported with a module. If those module elements are deleted with an update of the module OR the module is removed completely  → LOST + FOUND+Project data is added locally to the integrated process for elements imported with a module. If those module elements are deleted during a module update or if the module is removed completely, the elements are moved to LOST+FOUND.
  
 **Case 2.3: Local sub-elements** **Case 2.3: Local sub-elements**
  
-Sub-elements are locally added in the integrated process for elements imported with a module. If those module elements are deleted with an update of the module OR the module is removed completely  → LOST + FOUND+If sub-elements are added locally to elements imported with a module in the integrated process, and those module elements are later deleted during a module update or if the module is removed completely, the sub-elements are moved to LOST+FOUND.
  
 Case 2.3b: Elements are moved to another location which is then deleted with a module update/removal Case 2.3b: Elements are moved to another location which is then deleted with a module update/removal
  
-If you move an element from module A under an element from module B and that element is deleted because of a module update/removal → LOST + FOUND+If an element from module A is moved under an element from module B and that element from module B is deleted due to a module update or removal, the element from module A is moved to LOST+FOUND.
  
 **Case 2.4a: Using a “structural module” in different versions** **Case 2.4a: Using a “structural module” in different versions**
  
-If the structure module is integrated with different versions, it might happen that in the version that is imported lastsome elements are missing.+If a structural module is integrated with different versions, the version imported last may have some missing elements.
  
-E.g. V2 includes an element FolderXYZ, that didnt exist yet in V1 but is used in Process 2. If Process 1 is updated/imported after Process 2, FolderXYZ will land in LOST+FOUND.+For example, V2 includes an element called FolderXYZ, which didn't exist in V1 but is used in Process 2. If Process 1 is updated or imported after Process 2, FolderXYZ will be moved to LOST+FOUND.
  
-->If you use a common elements module (for structure, tailoring, etc.) which is imported into process modules, that are in turn integrated together somewhere else, always make sure that only process modules are integrated there that include the same version of the common elements module+Hint:  
  
-**Case 2.4.b: Common elements imported in different versions with different element identities**+When using a common elements module for structure, tailoring, etc., and importing it into process modules that are then integrated elsewhere, always ensure that the process modules being integrated use the same version of the common elements module.
  
-Should be a rare case, but if it happens it might be difficult to detect. It is a variation of Case 2.4. +**Case 2.4.b: Common elements imported in different versions with different element identities**
- +
-It can happen that the elements in the common elements module get new identities+
- +
-For example,+
  
-if they were deleted and created again with the same name 
  
-if they were imported by an importer that always creates new identities.+This should be a rare case, but if it happens, it might be difficult to detect. It is a variation of Case 2.4.
  
-other reasons for new identities :question_mark:+The elements in the common elements module can receive new identities, for example:
  
-At first glance, they look the same because they have the same name, but because of the different identities they are different objects for Stages+  * If they were deleted and recreated with the same name 
 +  * If they were imported by an importer that always creates new identities 
 +  * Other reasons for new identities 
 +At first glance, these elements look the same because they have the same name, but due to the different identitiesthey are considered different objects by Stages.
  
 **Case 2.4.c: On-demand problems** **Case 2.4.c: On-demand problems**
  
-If you use common elements with on-demand import, it might happen that with that on-demand import a folder element (or other parent element) is imported in module A.+When using common elements with on-demand import, a folder element (or another parent element) might be imported into module A.
  
-At some point maybe, it is decided that the on-demand element is no longer needed in module A, and therefore also the folder element is deleted.+If it is later decided that the on-demand element is no longer needed in module A, and the folder element is deleted, issues can arise if that folder element is still needed for on-demand elements from other modules in the integrated workspace.
  
-If this folder element is also needed for other on-demand elements from other modules in the integrated workspace AND if module A was the last module that was imported/updated in the integrated workspace AND is now updated again without that folder element, Stages thinks it needs to delete it but pushes it in LOST + FOUND insteadbecause it has sub-elements from other modules.+If module A was the last module imported or updated in the integrated workspace, and it is now updated again without the folder element, Stages thinks it needs to delete the folder element. Howeversince the folder element has sub-elements from other modules, it is moved to LOST+FOUND instead.