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

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

    <bug>
          <bug_id>12512</bug_id>
          
          <creation_ts>2007-08-09 03:57:34 +0400</creation_ts>
          <short_desc>gosa.conf download</short_desc>
          <delta_ts>2008-01-24 01:49:11 +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>gosa</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>12514</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="barabashka">barabashka</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53859</commentid>
    <comment_count>0</comment_count>
    <who name="barabashka">barabashka</who>
    <bug_when>2007-08-09 03:57:34 +0400</bug_when>
    <thetext>Не работает download gosa.conf на конечном этапе инсталяции.

Причины
1. Определено include/functions.inc:define (&quot;CONFIG_TEMPLATE_DIR&quot;,
&quot;/usr/share/doc/gosa-common-2.5.12/contrib/&quot;);
Такой директории нет, она не пренадлежит пакету gosa*
Соответственно в этой директории не лежит gosa.conf  из contrib. Инсталятор
обламывается на этапе подстановки значений в этот файл.
2. В setup/class_setupStep_Finish.inc
В районе функции  function execute(), при отдаче содержимого gosa.conf по http,
не хватает вывода переменной $str.

    $str = $this-&gt;get_conf_data();

      $str = preg_replace(&quot;/\n[ ]*\n/&quot;,&quot;&quot;,$str);

      echo $str;
      exit();
    }
При таком расскладе все отдается и нормально сохраняется</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53880</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Kuznetsov">vitty</who>
    <bug_when>2007-08-09 16:29:34 +0400</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 12514 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>