{"issue":{"created_at":"2011-11-17T08:50:45Z","state":"open","updated_at":"2011-11-23T12:52:36Z","user":{"gravatar_id":"e959e215166770091a65566071984e25","id":650955,"url":"https://api.github.com/users/vworldat","login":"vworldat","avatar_url":"https://secure.gravatar.com/avatar/e959e215166770091a65566071984e25?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"During `symfony propel:diff` several PHP Notices are thrown:\r\n\r\n```\r\nNotice: Undefined index: required in /lib/vendor/propel/generator/lib/model/Behavior.php on line 127\r\n```\r\n\r\nPossible solution\r\n-----------------------\r\n(no time to check tests)\r\n\r\n`Behavior.php, line 127`\r\n\r\n```php\r\nreturn $this->parameters[$name];\r\n```\r\n\r\nreplace with:\r\n\r\n```php\r\nif (isset($this->parameters[$name])) {\r\n  return $this->parameters[$name];\r\n}\r\nreturn null;\r\n```\r\n\r\nAs noted above: works for me, but I don't know if this has any side effects (shouldn't IMHO).","assignee":null,"id":2266550,"number":190,"labels":[{"name":"Behavior","color":"DDDDDD","url":"https://api.github.com/repos/propelorm/Propel/labels/Behavior"},{"name":"Generator","color":"0b02e1","url":"https://api.github.com/repos/propelorm/Propel/labels/Generator"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Notice in Behavior.php on line 127","closed_at":null,"html_url":"https://github.com/propelorm/Propel/issues/190","milestone":null,"url":"https://api.github.com/repos/propelorm/Propel/issues/190"},"action":"reopened"}