Queryable memories collected incorrectly in fuzzy search

XMLWordPrintable

    • High
    • None
    • Fix reorganise status check when collecting memories for fuzzy search
    • None

      Problem

      There is chance to encounter memory in reorganise status when trying to fuzzy search some segment.

      If this will happen in pre-translation - process will wait until reorganise finishes and will check for current statuses.

      But in connected logic memory list of language resource may change that is not respected by collection logic.

      In result language resource may end up skipped with 
      'Pretranslation cannot be performed when some TMs are being reorganized' error

      Solution

      Refactor \MittagQI\Translate5\T5Memory\FuzzySearchService::getQueryableMemories method to respect possible memory list changes

      Test

      • fuzzy
      • pre-translation

      not something special, just they work as before

            Assignee:
            Sanya Mikhliaiev
            Reporter:
            Sanya Mikhliaiev
            None
            None
            Leon Kiz
            Stephan Bergmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None