Project

General

Profile

Bug #2260

Updated by Matthieu CERDA over 12 years ago

While trying to delete a PI, you get a frightening error message and a deleted but uncommited XML file in the GIT repository: 

 UI Error: 
 <pre> 
 The form contains some errors, please correct them 
 An error occurred while deleting the policy instance: <- Error when deleting policy instanc with ID PolicyInstanceId(02dead6e-b1db-4c4f-a338-aae662db353c). All dependent configuration rules where deleted ().Error when deleting policy instanc with ID PolicyInstanceId(02dead6e-b1db-4c4f-a338-aae662db353c). All dependent configuration rules where deleted (). 
 </pre> 

 GIT status: 
 <pre> 
 root@orchestrateur-1:/var/rudder/configuration-repository# git status 
 # On branch master 
 # Changed but not updated: 
 #     (use "git add/rm <file>..." to update what will be committed) 
 #     (use "git checkout -- <file>..." to discard changes in working directory) 
 # 
 # 	 deleted:      policy-library/userlib_fileConfiguration/fileManagement/02dead6e-b1db-4c4f-a338-aae662db353c.xml 
 # 
 no changes added to commit (use "git add" and/or "git commit -a") 
 </pre> repository

Back