Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Notice in Behavior.php on line 127 #190

vworldat opened this Issue · 2 comments

3 participants


During symfony propel:diff several PHP Notices are thrown:

Notice: Undefined index: required in /lib/vendor/propel/generator/lib/model/Behavior.php on line 127

Possible solution

(no time to check tests)

Behavior.php, line 127

return $this->parameters[$name];

replace with:

if (isset($this->parameters[$name])) {
  return $this->parameters[$name];
return null;

As noted above: works for me, but I don't know if this has any side effects (shouldn't IMHO).

@fzaninotto fzaninotto reopened this

Hm, the fix is for the symptom, not the illness. The fact that this notice happens means that the method is called incorrectly somewhere.

Don't break the thermometer and pretend the patient is cured ;)


I like your quote, you're right as usual. I'll look at this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.