Uploaded image for project: 'User Directory'
  1. User Directory
  2. UD-241

Problems with deletion of synchronized contents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5.0
    • 2.5.0
    • None
    • 4.5 M8

      There are 2 problems. 

      How to reproduce : 

      Problem 1 : 

      1 - Synchronize users and entities (with relation between them, for instance 2 users in an entity). 

      2 - On _admin, select entities SCC and click on Delete synchronized contents

      3 - Following error is encountered and entities are not deleted : 

       

      Date : 15/11 13:03:57.852
      ThreadThread[AmetysRuntimeScheduler_Worker-8,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.plugins.contentio.synchronize.collection
      Message : 
      
      Unable to remove relation to content "Service commercial" (content://7fad0ed6-3e76-42c1-8d71-862fc8cb996f) for referencing content "Pôle Ametys" (content://f03909b3-50cc-43f9-833b-a567decc3495)
      
      Emplacement : org.ametys.plugins.userdirectory.DeleteOrgUnitComponent._removeRelations(DeleteOrgUnitComponent.java:230)
      
      Pile d'appels :
      
      com.opensymphony.workflow.InvalidActionException: Action 200 is invalid
      at com.opensymphony.workflow.AbstractWorkflow#doAction:562
      at org.ametys.plugins.workflow.AbstractAmetysWorkflow#doAction:164
      at org.ametys.cms.workflow.ContentWorkflowHelper#doAction:340
      at org.ametys.plugins.userdirectory.DeleteOrgUnitComponent#_removeRelation:262
      at org.ametys.plugins.userdirectory.DeleteOrgUnitComponent#_removeRelations:218
      at org.ametys.plugins.userdirectory.AbstractDeleteUDContentComponent#_deleteContent:223
      at org.ametys.plugins.userdirectory.AbstractDeleteUDContentComponent#deleteContents:191
      at org.ametys.plugins.userdirectory.AbstractDeleteUDContentComponent#deleteContentsWithLog:113
      at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection#_deleteContents:577
      at org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection#empty:172
      at org.ametys.plugins.contentio.synchronize.EmptyCollectionSchedulable#_process:28
      at org.ametys.plugins.contentio.synchronize.AbstractCollectionSchedulable#execute:50
      at org.ametys.core.schedule.AmetysJob#execute:151
      at org.quartz.core.JobRunShell#run:202
      at org.quartz.simpl.SimpleThreadPool$WorkerThread#run:573

       
      Problem 2 : 

      1 - Synchronize users and entities (with relation between them, for instance 2 users in an entity). 

      2 - On _admin, select users SCC and click on Delete synchronized contents

      3 - Deletion is performed, but when I select en entity, members are still present, whereas they should be removed. 

            cbayle Caroline Bayle
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: