Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the product changes logged #793

Merged
merged 2 commits into from
Jan 7, 2014
Merged

Make the product changes logged #793

merged 2 commits into from
Jan 7, 2014

Conversation

pjedrzejewski
Copy link
Member

No description provided.

@pjedrzejewski
Copy link
Member Author

sylius dashboard - google chrome_002

$config = $this->getConfiguration();
$logEntryRepository = $this->getManager()->getRepository('Gedmo\Loggable\Entity\LogEntry');

$product = $this->findOr404();
Copy link
Contributor

Choose a reason for hiding this comment

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

This should go before any other check.

@stloyd
Copy link
Contributor

stloyd commented Jan 7, 2014

While I like this, I'm not sure Gedmo is able (didn't play to much with loggable) to cover some fields that are important and not set in this bundle (i.e. prices, sku, inventory etc.).

pjedrzejewski pushed a commit that referenced this pull request Jan 7, 2014
Make the product changes logged
@pjedrzejewski pjedrzejewski merged commit 5086a54 into master Jan 7, 2014
@pjedrzejewski
Copy link
Member Author

These 5.3 failures with phpspec are driving me crazy. What's this again? :/

@pjedrzejewski pjedrzejewski deleted the products-loggable branch January 7, 2014 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants