1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Hardcoded Error Message

Discussion in 'Resolved Bug Reports' started by Alluidh, Jan 27, 2011.

  1. Alluidh

    Alluidh Well-Known Member

    Hi

    I found an error messages without phrases to translate ..

    error.jpg

    regards
    Mike
     
    Vladislav Rastrusny likes this.
  2. ragtek

    ragtek Guest

    It seems that it's not planned to use here a phrase^^.
    PHP:
                    else
                    {
                        
    XenForo.alert(xhr.responseText'Uncaught Error...'); // debug info, no phrasing
                    
    }
                }
                else
                {
                    
    // XMLHttpRequest is some other type...
                    
    XenForo.alert(xhr.responseText'Uncaught Error...'); // debug info, no phrasing
     
  3. Mike

    Mike XenForo Developer Staff Member

    In general, that error shouldn't happen, or at least be very infrequent. It's a coding error in a very specific place (well, outside the controller).
     
  4. ragtek

    ragtek Guest

    It is shown in RC1 because of the edit conversation bug;)
     
  5. Raitsa

    Raitsa Well-Known Member

    I´ve seen that flash by quite a few times now, could be because of TaigaChat addon, not sure but that would be my guess.
     
  6. Alluidh

    Alluidh Well-Known Member

    But as you see, it happens ;)
    So, as I said before, everything should be translatable
     
  7. Luke F

    Luke F Well-Known Member

    Yeah I think RC1 partially broke my workaround. The error appears by design (I'm assuming anyway) when an AJAX request is interrupted which happens quite a lot due to the constant polling.
     
  8. Mike

    Mike XenForo Developer Staff Member

    That's really how jQuery handles it -- it changed in between jQuery versions actually (annoyingly). You'll have to detect it. The cache rebuild JS handles a few different cases.
     
    Raitsa and Darkimmortal like this.
  9. Mike

    Mike XenForo Developer Staff Member

    I've phrased this now.
     
    Alluidh likes this.
  10. Alluidh

    Alluidh Well-Known Member

    Thank you
     

Share This Page