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

UI error when clicking on segment with placeable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • Editor general

      Problem

      UI error is produced when user clicks the segment containing placeable . This leads to crashed UI and the app becomes unusable.

       

      Error: 

      matches is null

      https://app.therootcause.io/#marc-mittag/translate5/errors/4290d3353bb33cf8e4cc0cecf4920f1d1f9fa882

      The affected segment content or tag: 

      <div class="single 70682069643d2232223e266c743b6663743a5661726961626c65206663743a416c74546578743d2671756f743b2671756f743b206663743a496e666f313d2671756f743b2671756f743b206663743a496e666f323d2671756f743b2671756f743b206663743a496e73657274546578743d2671756f743b26616d703b6c743b2033302671756f743b206663743a4e616d653d2671756f743b6669785f6f7065726174696e675f74696d652671756f743b206663743a5374617475733d2671756f743b5641524941424c455f5245534f4c5645442671756f743b206663743a547970653d2671756f743b466978546578742671756f743b2f2667743b3c2f7068 t5placeable internal-tag ownttip"><span class="short" title="<fct:Variable fct:AltText="" fct:Info1="" fct:Info2="" fct:InsertText="&lt; 30" fct:Name="fix_operating_time" fct:Status="VARIABLE_RESOLVED" fct:Type="FixText"/>"><2/></span><span class="full" data-originalid="2" data-length="4"></span></div>

       

      It crashes because the regex can not find 2 value out of the full tag span: <span class="full" data-originalid="2" data-length="4"></span><

          [TRANSLATE-4376] UI error when clicking on segment with placeable

          There are no comments yet on this issue.

            axelbecher Axel Becher
            aleksandar Aleksandar Mitrev
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: