Undefined index: name in Propel/Runtime/Util/Profiler.php

While doing some development with Propel 2 I encountered this error message:

Undefined index: name in Propel/Runtime/Util/Profiler.php

Despite the fact if you add a name entry you would get this error:

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option “name” under “propel.runtime.profiler.details.time”

It was supposed to be fixed with Propel 2.0.0-alpha5 but wasn’t.

Changing my composer to use dev-master fixed the issue. While not optimal, not a big deal if you run with composer.lock

You can see the issue I opened on GitHub here: https://github.com/propelorm/Propel2/issues/1028