<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>11598</bug_id>
          
          <creation_ts>2007-04-22 16:52:00 +0400</creation_ts>
          <short_desc>Missing facility name in facility editing page</short_desc>
          <delta_ts>2026-09-09 12:05:52 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alterator-control</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sir Raorn">raorn</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>shakirov</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49312</commentid>
    <comment_count>0</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2007-04-22 16:52:00 +0400</bug_when>
    <thetext>Название редактируемой facility можно узнать только посмотрев в URI.  Было бы
неплохо добавить редактируемую facility к &quot;заголовку&quot; формы (которая
непосредственно над Available modes/Description).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110070</commentid>
    <comment_count>1</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-06-23 19:55:05 +0400</bug_when>
    <thetext>VOTE FOR NOBODY

Nobody will keep election promises
Nobody will listen to your concerns
Nobody will help the poor and unemployed
Nobody cares!

If nobody is elected, things will be better for everyone!

NOBODY TELLS THE TRUTH</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110083</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2010-06-24 15:43:03 +0400</bug_when>
    <thetext>Не закрывай то, что могут починить другие.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110086</commentid>
    <comment_count>3</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-06-24 15:55:30 +0400</bug_when>
    <thetext>Nobody will fix bugs!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110093</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2010-06-24 16:38:35 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Nobody will fix bugs!
А что, смену assigned не видел?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110096</commentid>
    <comment_count>5</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-06-24 16:49:57 +0400</bug_when>
    <thetext>А ты что, видел смену статуса?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110099</commentid>
    <comment_count>6</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2010-06-24 16:56:44 +0400</bug_when>
    <thetext>Я сменил исполнителя на себя. Если твоя мятущаяся душа хочет и статус поменять, ради тебя пойду и на такое! :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118123</commentid>
    <comment_count>7</comment_count>
    <who name="Lenar Shakirov">shakirov</who>
    <bug_when>2011-02-08 23:40:54 +0300</bug_when>
    <thetext>Исправлено?
alterator-control-2.1-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118151</commentid>
    <comment_count>8</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-02-09 14:17:50 +0300</bug_when>
    <thetext>(В ответ на комментарий №7)
&gt; Исправлено?
&gt; alterator-control-2.1-alt1
Нет, в веб-интерфейсе не видно. Хотя поправить несложно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>297549</commentid>
    <comment_count>9</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-09 12:05:52 +0300</bug_when>
    <thetext>В alterator-control 2.2-alt1 (последняя сборка 2009) форма редактирования (ui/control/index.html) по-прежнему не показывает имя выбранного facility — только список сверху и Mode/Help. Патч: строка «Facility: &lt;имя&gt;» над Mode/Help, значение выставляется в ui-read-facility при каждом выборе. В веб-интерфейсе не гонял — патч примерный.

--- a/ui/control/ajax.scm
+++ b/ui/control/ajax.scm
@@ -15,6 +15,7 @@
 (define (ui-read-facility)
   (catch/message
     (lambda()
+      (form-update-value &quot;current_name&quot; (form-value &quot;name&quot;))
       (form-update-enum
 	&quot;mode&quot;
 	(woo-call &quot;/control/list_state&quot; &apos;name (form-value &quot;name&quot;)))
--- a/ui/control/index.html
+++ b/ui/control/index.html
@@ -24,6 +24,9 @@
 	    &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
 	&lt;/tr&gt;
         &lt;tr&gt;
+	    &lt;td colspan=&quot;2&quot;&gt;&lt;span translate=&quot;_&quot;&gt;Facility:&lt;/span&gt; &lt;b&gt;&lt;span class=&quot;alterator-label&quot; name=&quot;current_name&quot;/&gt;&lt;/b&gt;&lt;/td&gt;
+	&lt;/tr&gt;
+        &lt;tr&gt;
 	    &lt;td&gt;&lt;span translate=&quot;_&quot;&gt;Mode:&lt;/span&gt;&lt;/td&gt;
 	    &lt;td&gt;&lt;span translate=&quot;_&quot;&gt;Help:&lt;/span&gt;&lt;/td&gt;
 	&lt;/tr&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>