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

Error during user synchronization : metadata stored as long

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.3, 2.3.0
    • Labels:
      None

      Description

      2019-11-19 13:15:00,445 ERROR [org.ametys.plugins.contentio.synchronize.collection] (AmetysRuntimeScheduler_Worker-4;) An error occurred synchronizing user repeater for orgunit content://d02d14ca-882c-4a52-badb-96965dc5b24c
      org.ametys.runtime.model.exception.BadItemTypeException: Try to get string value from the non string data 'agentid' on '/ametys:root/ametys:plugins/contentio/ametys:contents/74/89/agent-xxxxxxxxxxxxxxxxxxxxxxxxx_9673-fr (dc2ea744-2dfc-48e1-ab32-ee95145e8895)'
              at org.ametys.cms.data.type.impl.StringRepositoryElementType.read(StringRepositoryElementType.java:40)
              at org.ametys.plugins.repository.data.holder.impl.DefaultModelAwareDataHolder.getValue(DefaultModelAwareDataHolder.java:133)
              at org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject.getValue(ModelAwareDataAwareAmetysObject.java:54)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._getUserIdValue(SQLSynchronizableUDOrgunitCollection.java:899)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._synchronizedRepeaterEntries(SQLSynchronizableUDOrgunitCollection.java:605)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._synchronizeUserRepeater(SQLSynchronizableUDOrgunitCollection.java:564)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._synchronizeUserRepeaterOperation(SQLSynchronizableUDOrgunitCollection.java:538)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._additionalOperations(SQLSynchronizableUDOrgunitCollection.java:334)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection.additionalSynchronizeOperations(SQLSynchronizableUDOrgunitCollection.java:310)
              at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._synchronizeContent(AbstractSimpleSynchronizableContentsCollection.java:208)
              at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._importOrSynchronizeContent(AbstractSimpleSynchronizableContentsCollection.java:149)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._importOrSynchronizeContent(SQLSynchronizableUDOrgunitCollection.java:289)
              at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._importOrSynchronizeContent(AbstractSimpleSynchronizableContentsCollection.java:125)
              at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._importOrSynchronizeContents(AbstractSimpleSynchronizableContentsCollection.java:570)
              at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection._internalPopulate(AbstractSimpleSynchronizableContentsCollection.java:89)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection._internalPopulate(SQLSynchronizableUDOrgunitCollection.java:263)
              at org.ametys.plugins.contentio.synchronize.AbstractSynchronizableContentsCollection.populate(AbstractSynchronizableContentsCollection.java:122)
              at org.ametys.plugins.contentio.synchronize.AbstractSimpleSynchronizableContentsCollection.populate(AbstractSimpleSynchronizableContentsCollection.java:81)
              at org.ametys.plugins.userdirectory.synchronize.SQLSynchronizableUDOrgunitCollection.populate(SQLSynchronizableUDOrgunitCollection.java:249)
              at org.ametys.plugins.contentio.synchronize.SynchronizeCollectionSchedulable.execute(SynchronizeCollectionSchedulable.java:51)
              at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:151)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

      In the repo I get :

      Dump is available, ask me

        Attachments

          Activity

            People

            • Assignee:
              lbouchet Loïc Bouchet
              Reporter:
              fravetier Frederic Ravetier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: