stephpy / timeline-bundle

Symfony2 bundle to make timeline
193 stars 57 forks source link

Fix ParameterNotFound Exception #151

Closed Zeichen32 closed 10 years ago

Zeichen32 commented 10 years ago

If no data hydrators are defined, i get a ParameterNotFound Exception.

  [Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
  You have requested a non-existent parameter "spy_timeline.filter.data_hydrator.locators_config". Did you mean this: "spy_timeline.filter.data_hydrator.class"?
Zeichen32 commented 10 years ago

I think its okay to check if the parameter exists here, because the parameter is used only at this place.

stephpy commented 10 years ago

Can you please fix tests ?

Zeichen32 commented 10 years ago

@stephpy Done

stephpy commented 10 years ago

Thx

cordoval commented 10 years ago

:+1: