Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4696

Resname / Segment Descriptor implementation breaks repetition logic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • Repetition editor
    • Critical
    • The usage of resnames (Segment Descriptors) are breaking current logic of calculation what a repetition is.

      problem

      Currently the the Segment Descriptor information is added on the fly to the hash of the segments content.

      This breaks several places where the raw hash is used to determine if a segment is a repetition or not (for example the repetition filter buttons in the UI). Probably the same for the calculation of the isRepeated field in segment table / view.

      solution

      Use the segment descriptor value directly in \editor_Models_Segment_RepetitionHash::generateHash and not on the fly.

       

       
       
       

       

            sanya@mittagqi.com Sanya Mikhliaiev
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: