Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

fix block deprecated method #387

Merged
merged 2 commits into from
Aug 19, 2016
Merged

fix block deprecated method #387

merged 2 commits into from
Aug 19, 2016

Conversation

rande
Copy link
Member

@rande rande commented Aug 18, 2016

I am targetting this branch, because there it is the latest one :)

Fixes #386

Changelog

### Changed
 - use `configureSettings ` instead of `setDefaultSettings`

### Fixed
 - fix missing configuration to the CoreBundle's FormHelper

Subject

There is a regression with the method called by BlockContextManager. Only configureSettings methods are being called.

@OskarStark
Copy link
Member

LGTM 👌🏻

@OskarStark
Copy link
Member

@soullivaneuh stuck build

@@ -59,7 +59,7 @@ public function getName()
/**
* {@inheritdoc}
*/
public function setDefaultSettings(OptionsResolverInterface $resolver)
public function configureSettings(OptionsResolver $resolver)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a BC break, isn't it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no as the current code does not work...

@rande
Copy link
Member Author

rande commented Aug 19, 2016

Can we merge this PR ?

@greg0ire
Copy link
Contributor

No b/c the build is stuck. Let's ask @soullivaneuh

@greg0ire greg0ire merged commit 7e778d5 into 2.x Aug 19, 2016
@greg0ire greg0ire deleted the fix_block_regression branch August 19, 2016 09:48
@greg0ire
Copy link
Contributor

Thanks @rande

@Nehadigi
Copy link

Nehadigi commented Jan 8, 2018

HI,

I am using e-commerce version 2.1.1 but my basket page and single product page is empty.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't view a single product
5 participants