Issue search is broken and breaks Epiphany

Proxecto:Web
Componente:Main
Categoría:informe de erro
Prioridade:blocking
Asignado:Sen asignar
Estado:active
Descrición

In the "Issues" screen, the search form requires the "Project" field. I recall that in the past this field was filled through a dropdown box (as it still is in the "Create new issue" form), but now it is a text box with a self-complete javascript function. This function fails, prompting an error dialog and making issue search impossible. Moreover, in Epiphany this dialog makes the browser to become zombie and to require to be killed.

The error shown in the error dialog is the following:
An error occurred.
https://trisquel.info/?q=gl/project/autocomplete/issue/project
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gl" xml:lang="gl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="content-language" content="gl" />
<title>Trisquel GNU/Linux - ¡Vai por libre!</title>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="alternate" type="application/rss+xml" title="Trisquel GNU/Linux RSS" href="https://trisquel.info/gl/node/feed" />
<link rel="shortcut icon" href="/sites/default/themes/trisquel7/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" media="all" href="/files/advagg_css/css_544c09bf341c8496f75d29574d3b7c6e_47.css" />
<script type="text/javascript">
/** @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright (C) 2008-2021 The Trisquel Project
*
* The JavaScript code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice
* for the JavaScript code in this page.
*/
</script>
<script type="text/javascript" src="/files/advagg_js/js_37db2c6a2a23b0fc94bf3f7393161dba_0.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","lightbox2":{"rtl":"0","file_path":"\/(\\w\\w\/)files","default_image":"\/sites\/default\/modules\/lightbox2\/images\/brokenimage.jpg","border_size":10,"font_color":"000","box_color":"fff","top_position":"","overlay_opacity":"0.8","overlay_color":"000","disable_close_click":1,"resize_sequence":0,"resize_speed":200,"fade_in_speed":200,"slide_down_speed":300,"use_alt_layout":0,"disable_resize":0,"disable_zoom":0,"force_show_nav":0,"show_caption":true,"loop_items":0,"node_link_text":"","node_link_target":0,"image_count":"Image !current of !total","video_count":"","page_count":"","lite_press_x_close":"Prema \u003Ca href=\u0022#\u0022 onclick=\u0022hideLightbox(); return FALSE;\u0022\u003E\u003Ckbd\u003Ex\u003C\/kbd\u003E\u003C\/a\u003E para pechar","download_link_text":"","enable_login":false,"enable_contact":false,"keys_close":"c x 27","keys_previous":"p 37","keys_next":"n 39","keys_zoom":"z","keys_play_pause":"32","display_image_size":"original","image_node_sizes":"()","trigger_lightbox_classes":"img.inline,img.image-img_assist_custom,img., img.image-","trigger_lightbox_group_classes":"","trigger_slideshow_classes":"","trigger_lightframe_classes":"","trigger_lightframe_group_classes":"","custom_class_handler":0,"custom_trigger_classes":"","disable_for_gallery_lists":0,"disable_for_acidfree_gallery_lists":true,"enable_acidfree_videos":true,"slideshow_interval":5000,"slideshow_automatic_start":true,"slideshow_automatic_exit":true,"show_play_pause":true,"pause_on_next_click":false,"pause_on_previous_click":true,"loop_slides":false,"iframe_width":600,"iframe_height":400,"iframe_border":1,"enable_video":0},"settings":{"settings_use_default_mark":"\u003Cspan class=\u0022settings_use_default_mark\u0022\u003E(predeterminado)\u003C\/span\u003E"},"spamspan":{"m":"spamspan","u":"emailuser","d":"emaildomain","h":"h","t":"t"},"comment_driven":{"node_form_bellow":0,"theme_support":"default"}});
//--><!]]>
</script>
<meta name="keywords" content="trisquel, GNU/Linux, linux, gnu, free software, software, libre, distro, distribution" />
<meta name="description" content="Trisquel GNU/Linux is a fully free operating system for home users, small enterprises and educational centers." />
</head>

<body class="mainbody front">
<div id="header">
<div id="headerfill">
<div id="headercontent">
<div id="logo"><span id="home"><a href="/gl"><span>Trisquel GNU/Linux</span></a></span></div>
<div id="topmenu">

<div class="block block-menu" id="block-menu-menu-top">

<h2 class="title">top</h2>
<div class="content"><ul class="menu"><li class="leaf first"><a href="/gl/download" title="Download Trisquel GNU/Linux iso images, live cd&#039;s and source code.">Descargar</a></li>
<li class="leaf"><a href="/gl/wiki" title="Documentation and manuals">Documentation</a></li>
<li class="leaf last"><a href="/gl/forum" title="Discussion and help forum of the Trisquel community.">Foro</a></li>
<li class="leaf last"><a href="/gl/donate" title="Donate to the Trisquel Project">Doacións</a></li>
</ul></div>
</div>

</div>
<div id="searchblock"> <form action="/gl" accept-charset="UTF-8" method="post" id="search-theme-form">
<div><div id="search" class="container-inline">
<div class="form-item" id="edit-search-theme-form-1-wrapper">
<label for="edit-search-theme-form-1">Buscar neste sitio: </label>
<input type="text" maxlength="128" name="search_theme_form" id="edit-search-theme-form-1" size="15" value="" title="Introduza os termos que queira buscar." class="form-text" />
</div>
<input type="submit" name="op" id="edit-submit" value="Buscar" class="form-submit" />
<input type="hidden" name="form_build_id" id="form-pIQQEmmnZqrOzmqJFkSKZfGBc5z-zWftbLXRepuLA34" value="form-pIQQEmmnZqrOzmqJFkSKZfGBc5z-zWftbLXRepuLA34" />
<input type="hidden" name="form_token" id="edit-search-theme-form-form-token" value="2c6e479b9ee2cf981b945026833029c7" />
<input type="hidden" name="form_id" id="edit-search-theme-form" value="search_theme_form" />
</div>

</div></form>
</div>

</div>
</div>
</div>

<div id="frontpageinfowrapper">

<div id="frontpageinfo">
<div id="newsticker">
<div class="views-field-body">
<h2>What is Trisquel?</h2>
<p>Trisquel GNU/Linux is a fully free operating system for home users, small enterprises and educational centers.</p>
<ul>
<li><a href="gl/screenshots">Capturas de pantalla</a></li>
<li><a href="gl/wiki">Documentation</a></li>
<li><a href="gl/forum">Foro</a></li>
<li><a href="gl/donate">Doacións</a></li>
</ul>

</div>
<div id="downloadlink"><a href="gl/download">Descargar Trisquel 9.0</a></div>
</div>
<a title="Capturas de pantalla" href="gl/screenshots"><span class="image"></span></a>
</div>
</div>

<div id="page">
<div