Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-2561

Forbidden call to ObserverHelper#suspendObservationForIndexation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • 4.3.0
    • None
    • None
    • 4.3 RC4

      In org.ametys.odf.skill.ODFSkillsHelper.createSkillsFromESCOFileCSV(String)

      Do not call ObserverHelper#suspendObservationForIndexation, as it will suspend all threads (as a result during this time, any content/page/resource/... added/modified/deleted... is not added/updated/removed in the index)

      The right way is to use the mechanism of ObservationManager.addArgumentForEvents and ObservationManager.removeArgumentForEvents

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: