Merge branch 'master' of ../application-blanche master
authorSébastien CHAZALLET <s.chazallet@gmail.com>
Thu, 21 Mar 2013 13:23:26 +0000 (14:23 +0100)
committerSébastien CHAZALLET <s.chazallet@gmail.com>
Thu, 21 Mar 2013 13:23:26 +0000 (14:23 +0100)
Conflicts:
config/application.config.php
server_config/site.alias

1  2 
config/application.config.php
vendor/zf2biz/Custom/Model/EntityManager.php

@@@ -2,7 -2,7 +2,8 @@@
  return array(
      'modules' => array(
          'Application',
+         'Auth',
 +        'Galerie',
      ),
      'module_listener_options' => array(
          'config_glob_paths'    => array(
@@@ -59,7 -59,7 +59,7 @@@ abstract class EntityManager extends Ab
                  $keys[] = "{$k}: {$v}";
              }
              $keys = implode(', ', $keys);
-             throw new \Exception("cannot get row {{$keys}} in table 'galerie'");
+             throw new \Exception("cannot get row {{$keys}} in table '{$this->table}'");
          }
          return $row;
      }
                  $entity->toUpdatableArray(),
                  $entity->toPrimaryArray()
              );
 +            die("update");
          } else {
              $keys = array();
 -            foreach($primary_array as $k => $v) {
 +            foreach($this->extract_primary($entity) as $k => $v) {
                  $keys[] = "{$k}: {$v}";
              }
              $keys = implode(', ', $keys);
-             throw new \Exception("cannot update row {{$keys}} in table 'galerie'");
+             throw new \Exception("cannot update row {{$keys}} in table '{$this->table}'");
          }
      }