Changeset 1005

Show
Ignore:
Timestamp:
07/08/08 11:55:45 (2 months ago)
Author:
laurentj
Message:

ticket #576: update xml method didn't support null values. p=Thomas

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0.x/lib/jelix/CREDITS

    r992 r1005  
    139139 - fixed minor bugs 
    140140 
     141Thomas 
     142 - fixed bugs in jDao (#576) 
     143 
    141144Christian Tritten 
    142145 - improvements on pagelinks plugin (#340) 
  • branches/1.0.x/lib/jelix/dao/jDaoGenerator.class.php

    r968 r1005  
    311311                        if($value[1]){ 
    312312                            foreach($method->getParameters() as $param){ 
    313                                 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],false).'.\'',$value[0]); 
     313                                $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],true).'.\'',$value[0]); 
    314314                            } 
    315315                            $sqlSet.= ', '.$this->_encloseName($updatefields[$propname]->fieldName). '= '. $value[0]; 
  • trunk/lib/jelix/CREDITS

    r996 r1005  
    161161 - <script /> tags don't end with a newline (#536) 
    162162 
     163Thomas 
     164 - fixed bugs in jDao (#576) 
     165 
    163166Christian Tritten 
    164167 - improvements on pagelinks plugin (#340) 
  • trunk/lib/jelix/dao/jDaoGenerator.class.php

    r839 r1005  
    311311                        if($value[1]){ 
    312312                            foreach($method->getParameters() as $param){ 
    313                                 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],false).'.\'',$value[0]); 
     313                                $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],true).'.\'',$value[0]); 
    314314                            } 
    315315                            $sqlSet.= ', '.$this->_encloseName($updatefields[$propname]->fieldName). '= '. $value[0]; 
  • trunk/lib/jelix/init.php

    r824 r1005  
    5050define ('JELIX_LIB_CORE_PATH',    JELIX_LIB_PATH.'core/'); 
    5151define ('JELIX_LIB_UTILS_PATH',   JELIX_LIB_PATH.'utils/'); 
    52 define ('LIB_PATH',               realpath(JELIX_LIB_PATH.'../').'/'); 
     52define ('LIB_PATH',               dirname(JELIX_LIB_PATH).'/'); 
    5353 
    5454#if WITH_BYTECODE_CACHE == 'auto' 
  • trunk/testapp/application.init.php

    r38 r1005  
    33* @package  jelix 
    44* @subpackage testapp 
    5 * @version  $Id$ 
    65* @author   Jouanneau Laurent 
    76* @contributor 
    8 * @copyright 2005-2006 Jouanneau laurent 
     7* @copyright 2005-2008 Jouanneau laurent 
    98* @link     http://www.jelix.org 
    109* @licence  http://www.gnu.org/licenses/gpl.html GNU General Public Licence, see LICENCE file 
     
    1514 
    1615define ('JELIX_APP_TEMP_PATH',    realpath(JELIX_APP_PATH.'../temp/testapp/').'/'); 
    17 define ('JELIX_APP_VAR_PATH',     realpath(JELIX_APP_PATH.'var/').'/'); 
    18 define ('JELIX_APP_LOG_PATH',     realpath(JELIX_APP_PATH.'var/log/').'/'); 
    19 define ('JELIX_APP_CONFIG_PATH',  realpath(JELIX_APP_PATH.'var/config/').'/'); 
    20 define ('JELIX_APP_WWW_PATH',     realpath(JELIX_APP_PATH.'www/').'/'); 
     16define ('JELIX_APP_VAR_PATH',     JELIX_APP_PATH.'var/'); 
     17define ('JELIX_APP_LOG_PATH',     JELIX_APP_PATH.'var/log/'); 
     18define ('JELIX_APP_CONFIG_PATH',  JELIX_APP_PATH.'var/config/'); 
     19define ('JELIX_APP_WWW_PATH',     JELIX_APP_PATH.'www/'); 
    2120 
    22 ?> 
Download in other formats: Unified Diff Zip Archive