Changeset 3308

Show
Ignore:
Timestamp:
04/21/06 21:38:59 (2 years ago)
Author:
bergius
Message:

Fixed bug in installing overlapping styles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/support/Role_Midgardelement/Midgardelement.php

    r3306 r3308  
    7878        } 
    7979         
     80        // Aegir v1 compatibility fix 
     81        //$style->parameter('Display', 'Shared', 'YES'); 
     82         
    8083        $qb = new MidgardQueryBuilder('midgard_element'); 
    8184        $qb->add_constraint('style', '=', $style->id); 
     
    111114        } 
    112115         
    113         $installing_paths[2] = "/tmp/{$element_name}"; 
     116        $installing_paths[2] = "/tmp/{$style_name}/{$element_name}"; 
    114117        return $installing_paths; 
    115118    } 
  • trunk/support/Role_Midgardelement/package.xml

    r3307 r3308  
    1616    <time>20:55:14</time> 
    1717    <version> 
    18         <release>1.0.2</release> 
     18        <release>1.0.3</release> 
    1919        <api>1.0.0</api> 
    2020    </version> 
     
    2424    </stability> 
    2525    <license uri="http://www.php.net/license/3_01.txt">PHP License</license> 
    26     <notes>Fixed loading of template file contents into a style element and made the package more resilient on different Midgard conf.d locations.</notes> 
     26    <notes>Fixed problems in installing overlapping element names</notes> 
    2727    <contents> 
    2828        <dir name="/">